Skip to content

Add rhel10 & fedora image-installer for s390x & ppc64 architectures (HMS-10747) - #2679

Merged
achilleas-k merged 4 commits into
osbuild:mainfrom
lfauster:s390x-ppc64le-image-installer
Sep 11, 2026
Merged

achilleas-k merged 4 commits into
osbuild:mainfrom
lfauster:s390x-ppc64le-image-installer

Conversation

@lfauster

Copy link
Copy Markdown
Contributor

Adds image-installer to the fedora and rhel10 distro definitions.
Some packages needed to be moved around a bit, as s390x does not use grub2 but zipl as bootloader. Also, both ppc64 and s390x do not use EFI.
I also used the opportunity to de-duplicate some redundant grub2/efi related packages.

The s390x image installer uncovered what I think is a bug in anaconda:
Anaconda installs the bootloader (in s390x's case zipl) before it creates the BLS entries, which leads to installation failure of zipl, as it depends on them.

The s390x image installer was tested on a beaker s390x machine with a patched anaconda [1].
The ppc64 images were built on a beaker ppc64 machine, and the installation was - for reasons - tested with qemu emulation on a x86_64 machine; .

[1] https://github.com/lfauster/anaconda/tree/zipl-fix-s390x-liveimg

EFI packages are only applicable on x86_64 and aarch64 architectures.
GRUB2 is only used on x86_64, aarch64 and ppc64le, not s390x.
EFI packages are only applicable on x86_64 and aarch64 architectures.
GRUB2 is only used on x86_64, aarch64 and ppc64le, not s390x.

Also, de-duplicate the common grub2 packages.
@lfauster lfauster changed the title Add rhel10 & fedora image-installer for s390x & ppc64 architecuteres Add rhel10 & fedora image-installer for s390x & ppc64 architectures Sep 10, 2026
@supakeen
supakeen self-requested a review September 10, 2026 18:20

@supakeen supakeen left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you; this looks good! Feel free to undraft, it can go in even with the potential Anaconda bug still existing.

I also noticed in the commits here that checksums changed where I feel they /shouldn't/ have changed. I've filed #2680 to fix that up.


As a bonus, it might be nice to also include these in eln-11 since that will become rhel-11 in the future.

@lfauster
lfauster marked this pull request as ready for review September 11, 2026 09:56
@lfauster
lfauster requested a review from a team as a code owner September 11, 2026 09:56

@achilleas-k achilleas-k left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff. Thank you. LGTM!

- "dejavu-sans-fonts"
- "dejavu-sans-mono-fonts"
- "device-mapper-persistent-data"
- "dmidecode"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The checksum changes here (in the first commit) appear to be from dmidecode being duplicated in the original manifest and it's now only appearing once. Real manifests are unaffected.

Comment on lines +419 to +427
"grub common packages for the anaconda boot pkgset":
when:
# grub2 is used on all architectures, except s390x
not_arch: "s390x"
append:
include:
- "grub2-tools"
- "grub2-tools-extra"
- "grub2-tools-minimal"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same issue as the fedora changes. Duplicate packages are reduced (dmidecode, efibootmgr, grub2-tools, grub2-tools-extra, grub2-tools-minimal) but real manifests are unaffected.

@achilleas-k
achilleas-k added this pull request to the merge queue Sep 11, 2026
Merged via the queue into osbuild:main with commit 373857e Sep 11, 2026
55 checks passed
@achilleas-k achilleas-k changed the title Add rhel10 & fedora image-installer for s390x & ppc64 architectures Add rhel10 & fedora image-installer for s390x & ppc64 architectures [HMS-10747] Sep 14, 2026
@ondrejbudai ondrejbudai changed the title Add rhel10 & fedora image-installer for s390x & ppc64 architectures [HMS-10747] Add rhel10 & fedora image-installer for s390x & ppc64 architectures (HMS-10747) Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants