diff options
author | Darren Hart <dvhart@linux.intel.com> | 2013-03-19 15:15:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-22 16:54:38 +0000 |
commit | 663c39dc1e350449427be0156e1267d3ef95d59d (patch) | |
tree | f608f98359d9b638b2631167b210c9e493d8c664 /scripts/contrib | |
parent | d20eea783085e44f3e5c636bd945660b22495044 (diff) | |
download | poky-663c39dc1e350449427be0156e1267d3ef95d59d.tar.gz |
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>
Diffstat (limited to 'scripts/contrib')
-rwxr-xr-x | scripts/contrib/mkefidisk.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/contrib/mkefidisk.sh b/scripts/contrib/mkefidisk.sh index f8c08dd204..6ff12af523 100755 --- a/scripts/contrib/mkefidisk.sh +++ b/scripts/contrib/mkefidisk.sh | |||
@@ -255,10 +255,6 @@ sed -i "s/ LABEL=[^ ]*/ /" $GRUBCFG | |||
255 | sed -i "s@ root=[^ ]*@ @" $GRUBCFG | 255 | sed -i "s@ root=[^ ]*@ @" $GRUBCFG |
256 | sed -i "s@vmlinuz @vmlinuz root=$TARGET_ROOTFS ro rootwait quiet @" $GRUBCFG | 256 | sed -i "s@vmlinuz @vmlinuz root=$TARGET_ROOTFS ro rootwait quiet @" $GRUBCFG |
257 | 257 | ||
258 | # Provide a startup.nsh script for older firmware with non-standard boot | ||
259 | # directories and paths. | ||
260 | echo "bootia32.efi" > $BOOTFS_MNT/startup.nsh | ||
261 | |||
262 | umount $BOOTFS_MNT | 258 | umount $BOOTFS_MNT |
263 | umount $HDDIMG_MNT | 259 | umount $HDDIMG_MNT |
264 | rm -rf $TMPDIR | 260 | rm -rf $TMPDIR |