[oe-commits] Andrea Adami : kexecboot_cfg: fix against unwanted appendings to boot.cfg
git at git.openembedded.org
git at git.openembedded.org
Wed Sep 18 22:31:21 UTC 2013
Module: meta-openembedded.git
Branch: master
Commit: 5e593fa0c754b7913a7bd88236ee7d949b21d897
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=5e593fa0c754b7913a7bd88236ee7d949b21d897
Author: Andrea Adami <andrea.adami at gmail.com>
Date: Sun Sep 15 18:15:14 2013 +0200
kexecboot_cfg: fix against unwanted appendings to boot.cfg
Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
---
.../recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb | 7 +++++--
1 files changed, 5 insertions(+), 2 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 6f21e52..af3320f 100644
--- a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb
+++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb
@@ -21,8 +21,11 @@ do_configure_prepend () {
}
do_install_prepend () {
-echo '# First kernel stanza.
+echo '# /boot/boot.cfg - KEXECBOOT configuration file.
+#
+# First kernel stanza.
# Show this label in kexecboot menu.
+#
LABEL=${KEXECBOOT_LABEL}
#
# Specify full kernel path on target.
@@ -48,7 +51,7 @@ APPEND=${CMDLINE} ${CMDLINE_DEBUG}
# LABEL=${KEXECBOOT_LABEL}-test
# KERNEL=/boot/${KERNEL_IMAGETYPE}-test
# APPEND=${CMDLINE}
-#' >> ${S}/boot.cfg
+#' > ${S}/boot.cfg
}
do_install () {
More information about the Openembedded-commits
mailing list