diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2016-07-25 14:36:55 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2016-07-25 14:36:55 +0000 |
| commit | 6700715f1b136cf5ddabfad0deed1787e26b1677 (patch) | |
| tree | 93acf0caecdb9dfc33f2d19049fd9f382ba57fb8 /sys/boot | |
| parent | 6c530d6853a55549321be1b8a1c4ae4e9d6866f5 (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rwxr-xr-x | sys/boot/efi/boot1/generate-fat.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/efi/boot1/generate-fat.sh b/sys/boot/efi/boot1/generate-fat.sh index 2688da30d1fa..1392f8159223 100755 --- a/sys/boot/efi/boot1/generate-fat.sh +++ b/sys/boot/efi/boot1/generate-fat.sh @@ -41,6 +41,8 @@ mkdir -p stub/efi/boot # Make a dummy file for boot1 echo 'Boot1 START' | dd of=stub/efi/boot/$FILENAME cbs=$BOOT1_SIZE count=1 conv=block +# Provide a fallback startup.nsh +echo $FILENAME > stub/efi/boot/startup.nsh umount stub mdconfig -d -u $DEVICE |
