[oe] [meta-oe][meta-initramfs][PATCH 2/4] kexecboot-cfg: update and use new LABEL separator

Andrea Adami andrea.adami at gmail.com
Mon Jun 18 22:58:04 UTC 2012


* previously the sections were separated by KERNEL string

Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
---
 .../recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb     |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb
index 4dca06c..6f70edd 100644
--- a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb
+++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb
@@ -21,11 +21,10 @@ do_configure_prepend () {
 
 do_install_prepend () {
 echo '# First kernel stanza.
-# Specify full kernel path on target.
-KERNEL=/boot/${KERNEL_IMAGETYPE}
-
 # Show this label in kexecboot menu.
 LABEL=${KEXECBOOT_LABEL}
+# Specify full kernel path on target.
+KERNEL=/boot/${KERNEL_IMAGETYPE}
 #
 # Append this tags to the kernel cmdline.
 APPEND=${CMDLINE} ${CMDLINE_DEBUG}
@@ -44,8 +43,8 @@ APPEND=${CMDLINE} ${CMDLINE_DEBUG}
 #
 #
 # Second kernel stanza.
-# KERNEL=/boot/${KERNEL_IMAGETYPE}-test
 # LABEL=${KEXECBOOT_LABEL}-test
+# KERNEL=/boot/${KERNEL_IMAGETYPE}-test
 # APPEND=${CMDLINE}
 #' >> ${S}/boot.cfg
 }
-- 
1.7.3.4





More information about the Openembedded-devel mailing list