use sed to delete the install section may failed due to an typo in installer routine.
Signed-off-by: Liwei Song <[email protected]> --- meta/recipes-core/initrdscripts/files/init-install-efi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh index c23132ae632d..6e4f3aa03b58 100644 --- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh +++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh @@ -259,7 +259,7 @@ if [ -f /run/media/$1/EFI/BOOT/grub.cfg ]; then cp /run/media/$1/EFI/BOOT/grub.cfg $GRUBCFG # Update grub config for the installed image # Delete the install entry - sed -i "/menuentry 'install'/,/^}/d" $GRUBCFG + sed -i "/menuentry 'install/,/^}/d" $GRUBCFG # initrd is necessary to boot from MD device if [ ! "${device#/dev/md}" = "${device}" ]; then cp /run/media/$1/initrd /boot -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
