Repository navigation
fix(images/centos-bootc): fetch matching kernel-devel from CentOS archive - #17
Merged
Merged
Conversation
- Downloaded kernel-devel matching the base image kernel from the CentOS Koji archive. - Added per-architecture SHA-256 verification before installing the RPM. Signed-off-by: Jean-Luc Davern <jdavern@linuxfoundation.org>
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.
Summary
The
centos-bootcimage build fails because the CentOS Stream repositories no longer providekernel-devel-6.12.0-271.el10. The build needs this package because it matches the kernel in the pinned base image, and it compiles the 9p modules against it.This change downloads that package from the CentOS Koji archive, checks a per-architecture SHA-256, and installs the local RPM. Other build dependencies still come from the configured repositories. The base image and kernel do not change. A kernel upgrade is separate work.
Verification
kernel-devel-6.12.0-271.el10.x86_64was not available from the configured repositories.rpm -Kreported the signatures of both archived RPMs as valid, with key ID8483c65d(CentOS official). The Dockerfile checksums come from those files.vermagic: 6.12.0-271.el10.aarch64),modinfo,dracut, andbootc container lint --fatal-warnings.