Generate hybrid ISO images for amd64.
authorBenno Rice <benno@FreeBSD.org>
Tue, 17 Apr 2018 22:33:41 +0000 (22:33 +0000)
committerBenno Rice <benno@FreeBSD.org>
Tue, 17 Apr 2018 22:33:41 +0000 (22:33 +0000)
commit0279ac04edcf87a92216a80acc7be76a2ff51957
treeae31c5e933f76df919e85474e3f8b7992dd4e935
parentedba22b0fb9a515a5a75ea6cf95a6679082131ca
Generate hybrid ISO images for amd64.

This keeps the existing El Torito entries for BIOS and UEFI boot code and
adds a GPT in the ISO image's System Area containing boot code for BIOS that
will load /boot/loader from the ISO filesystem and execute it. We then use
etdump to find the EFI System Partition image in the El Torito catalog and
add an entry to the GPT that allows EFI to find it.

Reviewed by: gjb, imp
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D15051
release/amd64/mkisoimages.sh