mkefidisk: Remove startup.nsh
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. (From OE-Core rev: d031cdbf40231b8c103d78c69252bf9d584d0605) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d20eea7830
commit
663c39dc1e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue