Skip to contentSkip to conversation

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

PATCH In review Chong Lu 2 participants 2 messages Jun 16, 2014

lore
Share & tools
lore

Chong Lu

author
#0 lore raw

PATCH 1/1 kexec-tools: fix warning about patch could not be found

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.

---
 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(-)
meta/recipes-kernel/kexec/kexec-tools.inc +1 -2
index 6a690c6..50b448c 100644
@@ -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
 
meta/recipes-kernel/kexec/kexec-tools_2.0.6.bb +2 -0
index 38a8947..5321dd4 100644
@@ -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"
 
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw
Quoted 40 lines · Chong Lu

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.

---
 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(-)
meta/recipes-kernel/kexec/kexec-tools.inc +1 -2
index 6a690c6..50b448c 100644
@@ -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
 
meta/recipes-kernel/kexec/kexec-tools_2.0.6.bb +2 -1
index 38a8947..5321dd4 100644
@@ -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

Quoted 5 lines

--
_______________________________________________
Openembedded-core mailing list
[email protected]
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