ublue-os/akmods

Investigate always building current day "main" kernel flavor akmods/main image with latest fedora kernel

bsherman opened this issue · 1 comments

We have "kernel package skew" when our upstream images are built on kernel A.B.C, but before our akmods images are built the the fedora repos update to kernel A.B.D. Or sometimes, even while the upstream images are building the change happens resulting in those having both kernels, while we expect a single kernel version.

The idea would be to notice if our upstream base image is not current with fedora repo, and upgrade the kernel packages during the build.

Major Concern - this may prevent downstream (eg, hwe and bazzite) from further replacing kernels?
Minor Concern - this WILL add the extra weight of another set of kernel packages in a layer to to main images, which is wasted in downstream images which replace the kernel.

This requires implementation in both akmods and main.

I think we are discussing things in #256 which may remove the need for ideas discussed in this issue.