Skip to content

Synchronise master with upstream - #577

Open
github-actions[bot] wants to merge 1 commit into
stackhpc/masterfrom
upstream/master-2026-08-06
Open

Synchronise master with upstream#577
github-actions[bot] wants to merge 1 commit into
stackhpc/masterfrom
upstream/master-2026-08-06

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

This PR contains a snapshot of master from upstream master.

Repos marked build_only: true are backed up before handle_repos()
overwrites them and restored at the end of each image build, so CI
mirror URLs are not baked into the final image.

The cleanup RUN was injected into every Dockerfile, not just images
that called handle_repos() for those repos. Child images with no
backup fell through to "rm -f", deleting the inherited repo file
(e.g. debian.sources in bifrost-base, breaking cpio install).

Fix by adding a {repo}.enabled sentinel that handle_repos creates
when it processes a build_only repo, making the cleanup conditional
on that sentinel.

Change-Id: Ie5b9970a4575b6258dc238059d3f33ddfe155789
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
@github-actions
github-actions Bot requested a review from a team as a code owner August 6, 2026 07:25
@github-actions github-actions Bot added automated Automated action performed by GitHub Actions synchronisation labels Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Automated action performed by GitHub Actions synchronisation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant