Skip to content

fix(images/centos-bootc): fetch matching kernel-devel from CentOS archive - #17

Merged
jdavv merged 1 commit into
mainfrom
fix/centos-bootc-kernel-devel-archive
Nov 3, 2026
Merged

jdavv merged 1 commit into
mainfrom
fix/centos-bootc-kernel-devel-archive

Conversation

@jdavv

@jdavv jdavv commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Summary

The centos-bootc image build fails because the CentOS Stream repositories no longer provide kernel-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

  • Before the change, the dev build failed because kernel-devel-6.12.0-271.el10.x86_64 was not available from the configured repositories.
  • rpm -K reported the signatures of both archived RPMs as valid, with key ID 8483c65d (CentOS official). The Dockerfile checksums come from those files.
  • A local native arm64 build passed. It included the 9p module build (vermagic: 6.12.0-271.el10.aarch64), modinfo, dracut, and bootc container lint --fatal-warnings.
  • The amd64 build was not run locally. The branch dev build covers it.

- 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>
@jdavv
jdavv merged commit 2ece1ee into main Nov 3, 2026
2 checks passed
@jdavv
jdavv deleted the fix/centos-bootc-kernel-devel-archive branch November 3, 2026 15:11
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.

1 participant