]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Create util/genfsimg for building filesystem-based images 204/head
authorMichael Brown <mcb30@ipxe.org>
Wed, 13 Jan 2021 11:50:26 +0000 (11:50 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 13 Jan 2021 17:58:02 +0000 (17:58 +0000)
commit79c0173d6df8580ea2e35fc173a5281e65d5321f
tree0320cc223756e5aa47426e4aeb6f586f9d995d96
parentc42f31bc8ad8ffce57b8662f902a343b1a4d3209
[build] Create util/genfsimg for building filesystem-based images

Generalise util/geniso, util/gensdsk, and util/genefidsk to create a
single script util/genfsimg that can be used to build either FAT
filesystem images or ISO images.

Extend the functionality to allow for building multi-architecture UEFI
bootable ISO images and combined BIOS+UEFI images.

For example:

  ./util/genfsimg -o combined.iso \
      bin-x86_64-efi/ipxe.efi \
      bin-arm64-efi/ipxe.efi \
      bin/ipxe.lkrn

would generate a hybrid image that could be used as a CDROM (or hard
disk or USB key) on legacy BIOS, x86_64 UEFI, or ARM64 UEFI.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.efi
src/arch/x86/Makefile.pcbios
src/util/genefidsk [deleted file]
src/util/genfsimg [new file with mode: 0755]
src/util/geniso [deleted file]
src/util/gensdsk [deleted file]