path: root/release/amd64
diff options
authorBenno Rice <benno@FreeBSD.org>2018-03-23 20:56:18 +0000
committerBenno Rice <benno@FreeBSD.org>2018-03-23 20:56:18 +0000
commit8dbc390581f7bf64c0a99007a1d68c147ab87581 (patch)
treefe3436191bb672398acf01fec09a2f3fd5533327 /release/amd64
parentf8268d4d9714fc4d75fd294a0e9bb247306b8223 (diff)
Allow makefs to properly tag UEFI El Torito boot images. Use them in amd64 ISOs.
UEFI booting requires an EFI System Partition (ESP). On most storage devices this will be in a specific partition type. To allow booting from CD/ISO filesystems, UEFI will look for an ESP in the form of a FAT filesystem image embedded in the image. Historically FreeBSD has added one of these to its amd64 ISO images but marked it as simply another i386 boot image. Luckily for us most UEFI implementations are rather forgiving and work this out for us. This change adds the ability to mark a boot image as being a UEFI image. It also modifies our ISO generation to use this marking for the UEFI image we embed. Reported by: Thomas Schmitt <scdbackup@gmx.net> Reviewed by: emaste, imp MFC after: 1 week Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D14809
Notes: svn path=/head/; revision=331463
Diffstat (limited to 'release/amd64')
1 files changed, 1 insertions, 1 deletions
diff --git a/release/amd64/mkisoimages.sh b/release/amd64/mkisoimages.sh
index ca94018e2f9b..66f7c945c6cd 100644
--- a/release/amd64/mkisoimages.sh
+++ b/release/amd64/mkisoimages.sh
@@ -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"
+ bootable="-o bootimage=efi;efiboot.img -o no-emul-boot $bootable"