]> Git Repo - buildroot-mgba.git/commit
fs/iso9660: add support for hybrid image using Grub2 on BIOS and EFI
authorKory Maincent <[email protected]>
Thu, 23 Sep 2021 15:57:23 +0000 (17:57 +0200)
committerYann E. MORIN <[email protected]>
Wed, 29 Sep 2021 20:58:57 +0000 (22:58 +0200)
commit5916cc501120aab59452cbe6f99ac8797558e1ca
treee2e8df678fa577306f3d36ab5d414280169c6d9a
parent3b1659107d8b0e80e2b19ad83b5fa7e564c411e1
fs/iso9660: add support for hybrid image using Grub2 on BIOS and EFI

Add support for building an hybrid ISO9660 image compatible with legacy
and UEFI BIOS. Note that this is not about an (iso)hybrid image, which
can boot from both a CDROM or a USB stick, but really about an image
being bootable from the legay BIOS or EFI; the two are orthognal.

The option -eltorito-alt-boot need to be used in the xorriso command
to generate the hybrid image. That option is a separator, meaning the
previous boot entry is done, and the following boot options define a new
boot entry.

The -no-emul-boot defines the type of the current boot image; that's why
it has to now be repeated in each of the BIOS and EFI options.

Finally, for symetry and consistency between the BIOS and EFI options,
we move the BIOS image option first.

Note: the BIOS boot image options have to be provided before the EFI
ones, or the system won't boot; the underlying reason is not known...

Signed-off-by: Kory Maincent <[email protected]>
[[email protected]:
  - note about hybrid vs. (iso)hybrid
  - explain -eltorito-alt-boot
  - explain duplication of -no-emul-boot
  - rename the variables
  - note about the BIOS-EFI ordering
]
Signed-off-by: Yann E. MORIN <[email protected]>
fs/iso9660/Config.in
fs/iso9660/iso9660.mk
This page took 0.033396 seconds and 4 git commands to generate.