Fedora Account System
Red Hat Associate
Red Hat Customer
The labels for ISOs are not passed explicitly to `image-builder` through the pungi configuration. This means that they are defaulting to the built-in labels. Let's pass the labels explicitly. This is making the `Server` DVD media unable to boot because the label in the grub2 config (written by `image-builder`) differs from the label `createiso` put onto the ISO after it embedded packages. Reproducible: Always
Upstream PR to allow configuration of this value: https://github.com/osbuild/image-builder/pull/2735
So, we now have the value configured in pungi but there's still some shenanigans going on: 1. We dropped `arch` and `disctype` from the label, we can't currently substitute `arch` and `disctype` was always wrong. However, someone (akankovs) told me that `osinfo-detect` actually uses this label. The regular expression seems to be: `Fedora-.*-dvd-x86_64-(4[4-9]|[5-9][0-9])` hence we should reintroduce the hardcoded disctype and allow templating in the architecture for this to continue working.
(In reply to Simon de Vlieger from comment #2) > However, someone (akankovs) told me that `osinfo-detect` actually uses this > label. The regular expression seems to be: > `Fedora-.*-dvd-x86_64-(4[4-9]|[5-9][0-9])` hence we should reintroduce the > hardcoded disctype and allow templating in the architecture for this to > continue working. FTR - Anaconda installer ticket to replace a workaround: https://redhat.atlassian.net/browse/INSTALLER-4957.
(In reply to Radek Vykydal from comment #3) > (In reply to Simon de Vlieger from comment #2) > > > However, someone (akankovs) told me that `osinfo-detect` actually uses this > > label. The regular expression seems to be: > > `Fedora-.*-dvd-x86_64-(4[4-9]|[5-9][0-9])` hence we should reintroduce the > > hardcoded disctype and allow templating in the architecture for this to > > continue working. > > FTR - Anaconda installer ticket to replace a workaround: > https://redhat.atlassian.net/browse/INSTALLER-4957. I can't read that ticket, however if you do have a workaround it's probably not necessary for long; I landed the code in rawhide to enable the label templating so we can re-introduce the missing architecture field. I'm just pacing the changes to the ISOs so they each go through OpenQA as single changes instead of large batches where it's harder to figure out if anything goes wrong :)
Yep, thank you, the workaround is https://github.com/rhinstaller/kickstart-tests/pull/1777, the JIRA ticket was more for our reference, so sorry for the noise. Will try to make it more visible.
This has been resolved now; ``` ~ € isoinfo -d -i ~/tmp/Fedora-Server-netinst-x86_64-Rawhide-20261015.n.0.iso CD-ROM is in ISO 9660 format System id: LINUX Volume id: Fedora-S-dvd-x86_64-rawh Volume set id: Publisher id: FEDORA PROJECT Data preparer id: IMAGE-BUILDER - HTTPS://OSBUILD.ORG/ Application id: Copyright File id: Abstract File id: Bibliographic File id: Volume set size is: 1 Volume set sequence number is: 1 Logical block size is: 2048 Volume size is: 706129 El Torito VD version 1 found, boot catalog is in sector 136 Joliet with UCS level 3 found Rock Ridge signatures version 1 found Eltorito validation header: Hid 1 Arch 0 (x86) ID '' Key 55 AA Eltorito defaultboot header: Bootid 88 (bootable) Boot media 0 (No Emulation Boot) Load segment 0 Sys type 0 Nsect 4 Bootoff 89 137 ~ € osinfo-detect ~/tmp/Fedora-Server-netinst-x86_64-Rawhide-20261015.n.0.iso Media is bootable. Media is an installer for OS 'Fedora Rawhide (x86_64)' ```