Hi, On Mon, 6 Jun 2022 17:50:32 +0100, Pete Batard <p...@akeo.ie> wrote: > To enable file system transposition support for UEFI, we also must ensure that > there exists a copy of the EFI bootloaders, that are currently embedded in the > efi.img for xorriso, at their expected UEFI location on the ISO9660 file > system. > > This is accomplished by removing the use of a temporary directory to create > the > efi/ content, to instead place it at the root of the ISO9660 content. > > Signed-off-by: Pete Batard <p...@akeo.ie>
Reviewed-by: Thomas Schmitt <scdbac...@gmx.net> Tested-by: Thomas Schmitt <scdbac...@gmx.net> I reviewed (modulo style aspects) and applied the patch [2/3] to a freshly pulled grub-mkrescue.c . It compiles and produces (on Debian) an ISO with: grub/grub-mkrescue -d /usr/lib/grub/x86_64-efi \ --locale-directory=/usr/share -o test.iso minimal (It would be more realistic if i knew how the Debian binary of grub-mkrescue knows that there is also /usr/lib/grub/i386-pc and combines it with x86_64-efi. If i use two -d options, then the latter overrides the former.) Whatever, the resulting test.iso has EFI boot equipment of the same size as the ISO from Debian's grub-mkrescue with the same arguments as above. Different than with Debian's binary, there is now a directory tree /efi in the ISO with 146 KiB of storage space (measured by xorriso -dus). Have a nice day :) Thomas _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel