From 5e593fa0c754b7913a7bd88236ee7d949b21d897 Mon Sep 17 00:00:00 2001 From: Andrea Adami Date: Sun, 15 Sep 2013 18:15:14 +0200 Subject: kexecboot_cfg: fix against unwanted appendings to boot.cfg Signed-off-by: Andrea Adami --- meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'meta-initramfs') 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 () { -- cgit 1.2.3-korg