bootc-host-setup: Add RHEL 10 support - #60
Draft
cgwalters-bot wants to merge 2 commits into
Draft
cgwalters-bot wants to merge 2 commits into
cgwalters-bot wants to merge 2 commits into
Conversation
cgwalters-bot
force-pushed
the
bootc-host-setup-rhel10
branch
5 times, most recently
from
September 18, 2026 08:43
2ea7fa5 to
75bed78
Compare
Provide the shared prerequisite for moving bootc CI to stock RHEL 10 while retaining the Ubuntu runner behavior already relied upon by callers. Keep the old entry point as a deprecated compatibility layer so downstream callers can migrate independently. Assisted-by: AI
Exercise the distro-aware entry point in this repository so its supported Ubuntu behavior remains covered while consumers migrate from the deprecated name. Assisted-by: AI
cgwalters-bot
force-pushed
the
bootc-host-setup-rhel10
branch
from
September 18, 2026 09:52
75bed78 to
067abe6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Provide the reusable host setup required to move bootc CI from Ubuntu to the stock GitHub-hosted RHEL 10 partner runner without breaking existing Ubuntu consumers.
Design
bootc-host-setuporchestrates small action-local scripts and declarative Ubuntu/RHEL base and libvirt package lists. It explicitly recognizes Ubuntu 24.04/26.04 and RHEL 10, preserves Ubuntu cleanup, QEMU/OVMF, KVM, and AppArmor handling, and retainsbootc-ubuntu-setupas a deprecated compatibility entry point.RHEL uses distribution Rust/Cargo, first attempts
justfrom the enabled package/EPEL repositories, then uses the checksum-verified Renovate-managed release fallback until the partner image has current EPEL content. The narrowly scoped OpenSSH crypto-policy repair only changes the expected crypto-policies-owned symlink target after the knownssh -Gdiagnostic, and keeps SELinux enforcing. The RHEL libvirt list includes the storage-core driver sovirtstoragedsupports bcvk session storage.Validation
bash -n bootc-host-setup/ci/*.sh test/bootc-host-setup.shshellcheck bootc-host-setup/ci/*.sh test/bootc-host-setup.shbash test/bootc-host-setup.shactionlint -config-file .github/actionlint.yaml .github/workflows/*.ymlgit diff --check origin/main...HEADNo bootc PR was modified.
AI disclosure
Assisted-by: AI
The shell test and action changes were AI-assisted and validated with the commands above. Human review is still required; commits intentionally have no
Signed-off-bytrailers.