Add ppc64le iso booting support to network installer types (HMS-9968)#2253
Add ppc64le iso booting support to network installer types (HMS-9968)#2253bcl wants to merge 10 commits intoosbuild:mainfrom
Conversation
The iso creation is different, setting CHRPBoot to true will setup the iso for booting on PPC64LE systems. It also requires a bootinfo.txt file in /ppc that points to the grub2 bootloader. Related: HMS-10110
This allows selection of the platform type, i386-pc or powerpc-ieee1275, for the grub2 iso bootloader. When empty the stage defaults to i386-pc. Related: HMS-10110
This allows the installation of the grub2 files into a different directory on the iso. By default it uses /boot/grub2/, but in some cases (eg. ppc64le) it needs to install them into /boot/grub/ Related: HMS-10110
This will be used to select ppc64le specific options for using grub2 to boot the iso. Related: HMS-10110
Related: HMS-10110
This sets up the xorrisofs stage for booting on ppc64le, includes a test. Related: HMS-10110
Add the new bootloader when the ISOBoot type is set to Grub2PPCISOBoot. This also adds the bootinfo.txt file to files/iso/bootinfo.txt, this is used by the ppc64le iso CHRP boot method to point to the grub2 bootloader's core.elf file. NOTE: The grub2 files need to be under /boot/grub, this is where the production core.elf bootloader searches for grub.cfg and extra modules. Related: HMS-10110
This adds support for ppc64le network installer iso creation to fedora, rhel-10, and rhel-9 Related: HMS-10110
Related: HMS-10110
|
NOTE: The file layout in the iso differs from the official ones slightly, I left vmlinuz and inird.img under |
You should be able to update the Schutzfile with a commit that built RPMs after your changes landed to get CI to pass here. |
achilleas-k
left a comment
There was a problem hiding this comment.
Nice. osbuild commit bump required, but otherwise LGTM
|
Was wondering why everything else passed and I guess it's because there were no builds in the gitlab pipelines and manifest generation doesn't check the osbuild version. |
| - "grub2-ppc64le-modules" | ||
| ppc64le_installer_platform: &ppc64le_installer_platform | ||
| <<: *ppc64le_bios_platform | ||
| image_format: "qcow2" |
There was a problem hiding this comment.
Nitpick: this would get inherited from ppc64le_bios_platform anchor.
There was a problem hiding this comment.
Yeah, we've got a few places like that where we repeat what's in the anchor.
| - "grub2-ppc64le-modules" | ||
| ppc64le_installer_platform: &ppc64le_installer_platform | ||
| <<: *ppc64le_bios_platform | ||
| image_format: "qcow2" |
There was a problem hiding this comment.
Nitpick: this would get inherited from ppc64le_bios_platform anchor.
supakeen
left a comment
There was a problem hiding this comment.
Needs manifest checksum regeneration; otherwise is OK.
SSIA
Will require a new osbuild with osbuild/osbuild#2377