]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Allow for building EFI ISOs without syslinux nosyslinux 992/head
authorMichael Brown <mcb30@ipxe.org>
Mon, 10 Jul 2023 12:45:47 +0000 (13:45 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 10 Jul 2023 12:51:33 +0000 (13:51 +0100)
commitdd68e283f86d493591ada937d750d60db8b415f4
tree126f10672d1d8d05e79a5cab25f2934a6928cd38
parentc30b71ee9cc2dc2a1d2f225d99f2d70dd73de247
[build] Allow for building EFI ISOs without syslinux

The isohybrid tool (that creates a partition table to describe the ESP
embedded within the ISO image) relies upon the existence of the
x86-only isolinux.bin file.  This file may not be available on non-x86
build hosts.

We already allow for the possibility that isohybrid may not be present
on the build host, in which case we fall back to creating a non-hybrid
ISO image.  Make a similar allowance for the possibility that the
isolinux.bin file may not be present: require its existence only if we
are attempting to build a BIOS-bootable image, or if we will be
attempting to use isohybrid to create a hybrid ISO image.

Reported-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/util/genfsimg