Fix the position of $bootable so that -o platformid=efi applies correctly.

Sponsored by:	iXsystems, Inc.
Pointy hat to:	benno (again)
This commit is contained in:
Benno Rice 2018-04-10 02:49:53 +00:00
parent d4bb7978c6
commit eb5c194032
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=332346

View File

@ -38,7 +38,7 @@ if [ "$1" = "-b" ]; then
umount efi
rmdir efi
mdconfig -d -u $device
bootable="-o bootimage=i386;efiboot.img -o no-emul-boot $bootable -o platformid=efi"
bootable="-o bootimage=i386;efiboot.img -o no-emul-boot -o platformid=efi $bootable"
shift
else