Patchwork kexec-tools: Create separate package for vmcore-dmesg

login
register
mail settings
Submitter Ricardo Neri
Date Aug. 5, 2014, 12:16 a.m.
Message ID <1407197771-18736-1-git-send-email-ricardo.neri-calderon@linux.intel.com>
Download mbox | patch
Permalink /patch/77265/
State Accepted
Commit 74f0424b31db90610e9ae01048850b630a2282fb
Headers show

Comments

Ricardo Neri - Aug. 5, 2014, 12:16 a.m.
The kexec-tools recipe already specifies separate packages for kexec and
kdump. Thus, it follows that a separate package can also be used to install
vmcore-dmesg granularly.

Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
---
 meta/recipes-kernel/kexec/kexec-tools_2.0.7.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Koen Kooi - Aug. 8, 2014, 6:45 a.m.
Op 5 aug. 2014, om 02:16 heeft Ricardo Neri <ricardo.neri-calderon@linux.intel.com> het volgende geschreven:

> The kexec-tools recipe already specifies separate packages for kexec and
> kdump. Thus, it follows that a separate package can also be used to install
> vmcore-dmesg granularly.

This breaks the upgrade patch sinds ${PN} is now an empty package. Please inspect buildhistory after changes to packaging. I'm sending a patch to fix this and actually improve the situation a bit.

Patch

diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.7.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.7.bb
index a5c1ced..1bb7e9f 100644
--- a/meta/recipes-kernel/kexec/kexec-tools_2.0.7.bb
+++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.7.bb
@@ -7,7 +7,8 @@  SRC_URI += "file://kexec-tools-Refine-kdump-device_tree-sort.patch"
 SRC_URI[md5sum] = "2309ba43981cb6d39d07ac3a9aac30ab"
 SRC_URI[sha256sum] = "dde5c38be39882c6c91f0129647349c4e1943b077d3020af1970b481ee954eb0"
 
-PACKAGES =+ "kexec kdump"
+PACKAGES =+ "kexec kdump vmcore-dmesg"
 
 FILES_kexec = "${sbindir}/kexec"
 FILES_kdump = "${sbindir}/kdump"
+FILES_vmcore-dmesg = "${sbindir}/vmcore-dmesg"