As part of https://fedoraproject.org/wiki/Changes/BIOSBootISOWithGrub2 , we had to change the pungi configuration for Fedora Rawhide composes to use `createiso_use_xorrisofs = True` - that was required for having x86_64 ISOs built by pungi just re-use the bootloader bits from the base boot.iso (built by lorax) that they work from.
I just noticed (sorry I didn't spot this earlier) that, since making that change, the ppc64le Server DVD ISOs do not boot. All other ppc64le ISOs do boot. I believe all the other ISOs are built directly by lorax; the Server DVD ISO is the only one that's built by pungi based from an initial image produced by lorax.
Unfortunately, since I didn't notice it in time, the logs from the most recent compose that still worked "the old way" have been garbage collected (unless nirik can reconstruct them from anywhere). But this is the most recent failed task: https://koji.fedoraproject.org/koji/taskinfo?taskID=88911314 . https://kojipkgs.fedoraproject.org//work/tasks/1314/88911314/root.log has all the xorriso logs.
The boot failure looks like the attached screenshot, on a qemu VM: the firmware complains "failed to load CHRP boot loader.failed to load CHRP boot loader."
This is an automatic FE for F37 Beta per https://fedoraproject.org/wiki/QA:SOP_freeze_exception_bug_process#Automatic_freeze_exceptions "Complete failure of any non-release-blocking image to boot at all under any circumstance - "DOA" image", marking as such.
Created attachment 1893783 [details]
screenshot of the boot failure (in qemu)
I *think* with the changes we're using the same `xorriso -boot_image any replay` approach on ppc64le as we are on x86_64, and the base image *does* boot, so this could possibly be a xorriso bug. Or maybe we need some additional args or something for ppc64le?
Image that boots OK: https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20220630.n.0/compose/Server/ppc64le/iso/Fedora-Server-netinst-ppc64le-Rawhide-20220630.n.0.iso
Image built from it that doesn't boot OK: https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20220630.n.0/compose/Server/ppc64le/iso/Fedora-Server-dvd-ppc64le-Rawhide-20220630.n.0.iso
the `xorriso -indev foo.iso -report_el_torito as_mkisofs` output for both is very similar, but of course if this is a bug in xorriso itself that would make sense...
The process for building the DVD is the same across all arches.
Pungi runs `xorriso -dialog on` and feeds it with this file:
The image listed as -indev is the same as the netinst linked above, just not renamed yet.
Yep, I know all that. The question is, why does the new image turn out unbootable?
*** Bug 2109095 has been marked as a duplicate of this bug. ***
This is now fixed per https://pagure.io/pungi/pull-request/1613#comment-174372 and subsequent comments.