Patchwork kexec-tools: fix warning about patch could not be found

login
register
mail settings
Submitter Chong.Lu@windriver.com
Date June 16, 2014, 3:20 a.m.
Message ID <1402888827-4210-1-git-send-email-Chong.Lu@windriver.com>
Download mbox | patch
Permalink /patch/73821/
State New
Headers show

Comments

Chong.Lu@windriver.com - June 16, 2014, 3:20 a.m.
kexec-tools-klibc required kexec-tools.inc file. Put the patch of
kexec-tools into bb file in order to fixing QA warning about files path.
The patch only needed by kexec-tools.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
---
 meta/recipes-kernel/kexec/kexec-tools.inc      |    3 +--
 meta/recipes-kernel/kexec/kexec-tools_2.0.6.bb |    2 ++
 2 files changed, 3 insertions(+), 2 deletions(-)
Andrea Adami - June 16, 2014, 11:31 a.m.
On Mon, Jun 16, 2014 at 5:20 AM, Chong Lu <Chong.Lu@windriver.com> wrote:
> kexec-tools-klibc required kexec-tools.inc file. Put the patch of
> kexec-tools into bb file in order to fixing QA warning about files path.
> The patch only needed by kexec-tools.
>
> Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
> ---
>  meta/recipes-kernel/kexec/kexec-tools.inc      |    3 +--
>  meta/recipes-kernel/kexec/kexec-tools_2.0.6.bb |    2 ++
>  2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-kernel/kexec/kexec-tools.inc b/meta/recipes-kernel/kexec/kexec-tools.inc
> index 6a690c6..50b448c 100644
> --- a/meta/recipes-kernel/kexec/kexec-tools.inc
> +++ b/meta/recipes-kernel/kexec/kexec-tools.inc
> @@ -8,8 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a \
>                      file://kexec/kexec.c;beginline=1;endline=20;md5=af10f6ae4a8715965e648aa687ad3e09"
>  DEPENDS = "zlib xz"
>
> -SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz \
> -           file://kexec-tools-Refine-kdump-device_tree-sort.patch"
> +SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz"
>
>  inherit autotools-brokensep
>
> diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.6.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.6.bb
> index 38a8947..5321dd4 100644
> --- a/meta/recipes-kernel/kexec/kexec-tools_2.0.6.bb
> +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.6.bb
> @@ -2,6 +2,8 @@ require kexec-tools.inc
>  export LDFLAGS = "-L${STAGING_LIBDIR}"
>  EXTRA_OECONF = " --with-zlib=yes"
>
> +SRC_URI += "file://kexec-tools-Refine-kdump-device_tree-sort.patch"
> +
>  SRC_URI[md5sum] = "c39ea40a7598e49b6dc961ee7de38f57"
>  SRC_URI[sha256sum] = "a9c6cd9adc8c1c37b3272782f581cb8b4b4070d0e3e921a558a9083f68dcf29a"
>
> --
> 1.7.9.5
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

I've noticed the kexec-tools-klibcd warning only saturday and while
I'm planning to update the klibc recipe soon (hard work and not many
users apparently...) I appreciate your quick fix in the main recipe.
Unfortunately this specific recipe cannot be easilly BBCLASSEXTEND'ed
to klibc like others...

Thanks

Acked-by: Andrea Adami <andrea.adami@gmail.com>

Patch

diff --git a/meta/recipes-kernel/kexec/kexec-tools.inc b/meta/recipes-kernel/kexec/kexec-tools.inc
index 6a690c6..50b448c 100644
--- a/meta/recipes-kernel/kexec/kexec-tools.inc
+++ b/meta/recipes-kernel/kexec/kexec-tools.inc
@@ -8,8 +8,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a \
                     file://kexec/kexec.c;beginline=1;endline=20;md5=af10f6ae4a8715965e648aa687ad3e09"
 DEPENDS = "zlib xz"
 
-SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz \
-           file://kexec-tools-Refine-kdump-device_tree-sort.patch"
+SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz"
 
 inherit autotools-brokensep
 
diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.6.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.6.bb
index 38a8947..5321dd4 100644
--- a/meta/recipes-kernel/kexec/kexec-tools_2.0.6.bb
+++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.6.bb
@@ -2,6 +2,8 @@  require kexec-tools.inc
 export LDFLAGS = "-L${STAGING_LIBDIR}"
 EXTRA_OECONF = " --with-zlib=yes"
 
+SRC_URI += "file://kexec-tools-Refine-kdump-device_tree-sort.patch"
+
 SRC_URI[md5sum] = "c39ea40a7598e49b6dc961ee7de38f57"
 SRC_URI[sha256sum] = "a9c6cd9adc8c1c37b3272782f581cb8b4b4070d0e3e921a558a9083f68dcf29a"