]> code.ossystems Code Review - openembedded-core.git/commitdiff
mkefidisk: Remove startup.nsh
authorDarren Hart <dvhart@linux.intel.com>
Tue, 19 Mar 2013 22:15:05 +0000 (15:15 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Mar 2013 16:51:52 +0000 (16:51 +0000)
Most firmware implementations use the EFI specified
EFI/BOOT/bootia32.efi (and similar) boot paths. Only broken firmware
uses different paths for removable media. In those cases, the user can
add their own startup.nsh.

For the compliant case, selecting "Shell" from the EFI boot menu should
go to the shell.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/contrib/mkefidisk.sh

index f8c08dd204ec7b8556e116c96349afd136c7f8af..6ff12af52321d4ca4c1bdd49dcc632c45192c7ec 100755 (executable)
@@ -255,10 +255,6 @@ sed -i "s/ LABEL=[^ ]*/ /" $GRUBCFG
 sed -i "s@ root=[^ ]*@ @" $GRUBCFG
 sed -i "s@vmlinuz @vmlinuz root=$TARGET_ROOTFS ro rootwait quiet @" $GRUBCFG
 
-# Provide a startup.nsh script for older firmware with non-standard boot
-# directories and paths.
-echo "bootia32.efi" > $BOOTFS_MNT/startup.nsh
-
 umount $BOOTFS_MNT
 umount $HDDIMG_MNT
 rm -rf $TMPDIR