#135 Add minimal -devel packages as needed to build kernel modules
Merged by amigadave. Opened by tpopela.
tpopela/workstation-ostree-config f29  into  f29

Download 135.patch

As discussed in the forum[1], package layering can work for building kernel
modules, such as the nvidia driver. However, there are some problems
with the -devel packages needed, as they need to match the exact version
in the base image, and once the version bumps in the yum repo the old
version isn't even available.

So, this adds the minimal set of -devel packages needed to build a a kmod.
This isn't enough to build a kernel module, but the rest needed can much
more easily be layered.

Given the current rawhide dependencies this adds the following packages:
* elfutils-libelf-devel
* glibc-devel
* glibc-headers
* kernel-devel
* kernel-headers
* libxcrypt-devel
* zlib-devel

This adds about 100 megs to a 4 gigabyte image, which I think is a fair
compromise in order to be able to build kernel modules and support
the nvidia drivers.

[1] https://discussion.fedoraproject.org/t/supporting-the-nvidia-drivers-on-silverblue/849/6

I'm tentatively OK with this but...at some point we're going to need to cross the bridge of having explicit testing branches that promote to stable on e.g. weekly cadence, a bit like we're doing with Atomic Host. Today committing something like this is just going to ship to everyone tomorrow.

I'm definitely in favor of extending it to weekly cadence, but we should aim it for a new Fedora release, and not somewhere during the cycle - that could bring just confusion among users.

Pull-Request has been merged by amigadave

I'm tentatively OK with this but...at some point we're going to need to cross the bridge of having explicit testing branches that promote to stable on e.g. weekly cadence, a bit like we're doing with Atomic Host.

Yes - but we'll have to solve the base/updates split problem for layering first to avoid creating more problems than we solve.

Metadata