Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora: add base support for ppc64le and s390x architectures #198

Merged
merged 4 commits into from
Oct 13, 2023

Conversation

thozza
Copy link
Member

@thozza thozza commented Oct 11, 2023

Add base support for ppc64le and s390x architectures, based on RHEL-9. Support qcow2 and container image types for now.

I manually tested these on ppc64le and s390x hosts.
ppc64le-qcow2-boot.log
s390x-qcow2-boot.log

Marking as draft until I replace Fedora repos with rpmrepo snapshots (osbuild/rpmrepo#86)

@thozza thozza marked this pull request as draft October 11, 2023 16:26
supakeen
supakeen previously approved these changes Oct 12, 2023
Copy link
Member

@supakeen supakeen left a comment

Choose a reason for hiding this comment

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

<3

Copy link
Member

@achilleas-k achilleas-k left a comment

Choose a reason for hiding this comment

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

This is great, thanks!

achilleas-k
achilleas-k previously approved these changes Oct 12, 2023
@achilleas-k
Copy link
Member

Oops, I merged the snapshot update and it's conflicting on the test repo definitions.

Adjust the ppc64le platform to return boot and build packages related to
booting, only if the platform is configured to be intended for booting.
Otherwise, building e.g. a container image on ppc64le fails, due to the
image package set excluding some of the packages required by boot
packages.

Signed-off-by: Tomáš Hozza <[email protected]>
Adjust the s390x platform to return boot and build packages related to
booting, only if the platform is configured to be intended for booting.
Otherwise, building e.g. a container image on s390x fails, due to the
image package set excluding some of the packages required by boot
packages.

Signed-off-by: Tomáš Hozza <[email protected]>
Add support for s390x and ppc64le architectures in the Fedora
distribution. For now, support building only a few images, which are
relatively easy to test manually to sanity check the support,
specifically the qcow2 and container images.

The base partition table for these architectures is taken from RHEL-9
distro, with the change of the default filesystem to be 'ext4' instead
of 'xfs', to make them consistent with partition tables for existing
Fedora architectures.

Signed-off-by: Tomáš Hozza <[email protected]>
In addition:
 - update the Fedora 40 repos to actual F40 snapshots. Previously, the
   distro repo definitions used F39 snapshots.
 - update the Fedora 39 snapshots from rawhide to branched snapshots. We
   are not taking any new F39 rawhide snapshots since August.
 - fix the F37 x86_64 'fedora-modular' repo URL, since is was pointing
   to the updates version of it.

Signed-off-by: Tomáš Hozza <[email protected]>
@achilleas-k achilleas-k added this pull request to the merge queue Oct 13, 2023
Merged via the queue into osbuild:main with commit c3bef14 Oct 13, 2023
9 checks passed
@thozza thozza deleted the fedora-s390x-ppc64le branch October 13, 2023 09:35
@achilleas-k
Copy link
Member

🎉🎉🎉

@thozza
Copy link
Member Author

thozza commented Oct 13, 2023

I'll submit a PR in osbuild-composer shortly... 😎

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.

5 participants