Skip to content

arch: map OCI platform architecture to GOARCH#2315

Open
mochaaP wants to merge 1 commit into
osbuild:mainfrom
mcha-forks:mochaa-oci-arch
Open

arch: map OCI platform architecture to GOARCH#2315
mochaaP wants to merge 1 commit into
osbuild:mainfrom
mcha-forks:mochaa-oci-arch

Conversation

@mochaaP
Copy link
Copy Markdown

@mochaaP mochaaP commented Apr 29, 2026

Partially fixes #2306.

TODO: make variants (arm/v5,v6,v7 arm64/v8... ppc64/power8,power9 riscv64/rva20u64,rva22u64,rva23u64 amd64/v1,v2,v3,v4) available so RHEL9+ can correctly map to amd64/v3, otherwise SIGILL if you have non-v3 builders in the fleet that can get scheduled
TODO: how does this map to RPM subarchs?

Partially fixes osbuild#2306

Signed-off-by: Zephyr Lykos <git@mochaa.ws>
@mochaaP mochaaP requested a review from a team as a code owner April 29, 2026 17:16
@supakeen
Copy link
Copy Markdown
Member

supakeen commented Apr 29, 2026

Thank you and this will need osbuild stage changes if we want to support variant as well? I've opened: osbuild/osbuild#2431 so that it can be ready in the future.

I think for this PR subarches can be a followup; cc @achilleas-k @lzap?


The two failed CI tests are flakes, I'll look into them.

@supakeen supakeen requested a review from lzap April 29, 2026 18:08
@lzap
Copy link
Copy Markdown
Contributor

lzap commented Apr 30, 2026

Yeah I think subarches can be ignored for now, our environments are typically either x86_64 v1 or v3 (RHEL10). Well, unless Fedora does not move forward with some complicated variant build solution... I'd just drop it from the patch for now.

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.

OCI platform architecture should be mapped to GOARCH format

3 participants