[oe-commits] Andrea Adami : kexecboot-cfg: update and use new LABEL separator

git at git.openembedded.org git at git.openembedded.org
Wed Jun 20 11:38:18 UTC 2012


Module: meta-openembedded.git
Branch: master
Commit: 1e26b20707700b4a0b76f6ca50da0633f5e7ff08
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=1e26b20707700b4a0b76f6ca50da0633f5e7ff08

Author: Andrea Adami <andrea.adami at gmail.com>
Date:   Mon Jun 18 22:58:04 2012 +0000

kexecboot-cfg: update and use new LABEL separator

* previously the sections were separated by KERNEL string

Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 .../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
 }





More information about the Openembedded-commits mailing list