summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2013-03-19 15:15:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-22 16:54:38 +0000
commit663c39dc1e350449427be0156e1267d3ef95d59d (patch)
treef608f98359d9b638b2631167b210c9e493d8c664 /scripts
parentd20eea783085e44f3e5c636bd945660b22495044 (diff)
downloadpoky-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')
-rwxr-xr-xscripts/contrib/mkefidisk.sh4
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
255sed -i "s@ root=[^ ]*@ @" $GRUBCFG 255sed -i "s@ root=[^ ]*@ @" $GRUBCFG
256sed -i "s@vmlinuz @vmlinuz root=$TARGET_ROOTFS ro rootwait quiet @" $GRUBCFG 256sed -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.
260echo "bootia32.efi" > $BOOTFS_MNT/startup.nsh
261
262umount $BOOTFS_MNT 258umount $BOOTFS_MNT
263umount $HDDIMG_MNT 259umount $HDDIMG_MNT
264rm -rf $TMPDIR 260rm -rf $TMPDIR