[oe] [meta-initramfs][PATCH 1/3] kexecboot_cfg: fix against unwanted appendings to boot.cfg
Andrea Adami
andrea.adami at gmail.com
Sun Sep 15 16:15:14 UTC 2013
Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
---
meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb | 7 +++++--
1 file 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 () {
--
1.8.1.5
More information about the Openembedded-devel
mailing list