Skip to content

fix: pin fhs and ca-certificates input images to linux/amd64 - #728

Closed
pl4nty wants to merge 1 commit into
siderolabs:mainfrom
pl4nty:fix/pkgs-circular-dependency
Closed

pl4nty wants to merge 1 commit into
siderolabs:mainfrom
pl4nty:fix/pkgs-circular-dependency

Conversation

@pl4nty

@pl4nty pl4nty commented Nov 21, 2026

Copy link
Copy Markdown

Pull Request

What? (description)

Pin fhs and ca-certificates input images to linux/amd64.

Why? (reasoning)

The contents of fhs and ca-certificates are architecture-neutral (dirs/symlinks/PEM), but the generated image- stages use the build's architecture. On a new architecture like riscv64, that's a circular dependency: pkgs uses bldr, and bldr needs fhs and ca-certificates from pkgs.

I also did a rekres to test, and copied the PR template from https://github.com/siderolabs/talos for convenience.

The contents of `fhs` and `ca-certificates` are architecture-neutral (dirs/symlinks/PEM), but the generated `image-` stages use the build's architecture. On a new architecture like riscv64, that's a circular dependency: pkgs uses bldr, and bldr needs `fhs` and `ca-certificates` from pkgs.

Signed-off-by: Tom Plant <tom@tplant.com.au>
@siderolabs-project-bot siderolabs-project-bot Bot moved this to In Review in Planning Nov 21, 2026
@smira

smira commented Nov 22, 2026

Copy link
Copy Markdown
Member

This might cause an issue with buildkit picking up correct architecture, not worth the risk here.

@smira smira closed this Nov 22, 2026
@github-project-automation github-project-automation Bot moved this from In Review to Done in Planning Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants