aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2013-09-15 18:15:14 +0200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-09-18 23:43:06 +0100
commit5e593fa0c754b7913a7bd88236ee7d949b21d897 (patch)
tree32a66fcb1a9372daac7b02966f1af1eefb0c6c38 /meta-initramfs
parent1d536390dcafe4d539335dec2173aa9ddc3d8b51 (diff)
downloadmeta-openembedded-contrib-5e593fa0c754b7913a7bd88236ee7d949b21d897.tar.gz
kexecboot_cfg: fix against unwanted appendings to boot.cfg
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'meta-initramfs')
-rw-r--r--meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb7
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 6f21e5261f..af3320f8a7 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 () {