configpolicy/roles/gasket-dkms
Dustin 59be10a51c r/gasket-dkms: Build/sign Coral TPU driver
The *gasket-dkms* package provides the `gasket` and `apex` kernel
modules, which are needed fro the Google Coral Edge TPU.  Since these
are out-of-tree modules, they are not allowed in Fedora proper, so they
are provided in a COPR, and have to be rebuilt for every kernel version.
The DKMS framework handles automatically building the modules whenever
the kernel updates.

For systems usign UEFI with SecureBoot enabled, kernel modules must be
signed by a key trusted by the platform.  For locally-built modules, we
can use the Machine Owner Key (MOK).  Unfortunately, enrolling a new MOK
requires rebooting and manual intervention during the boot process.
Therefore, the *gasket-dkms* role has a `pause` step to ensure someone
is paying attention and able handle the key enrollment interactively.

Eventually, I'd like to have an RPM package with these modules
pre-built, so production servers do not need the kernel development
tools (`perl`, `gcc`, headers, etc.).  It will be tricky, though, to
make sure the modules get rebuilt for every kernel version as Fedora
releases them.
2024-08-12 18:47:04 -05:00
..
defaults r/gasket-dkms: Build/sign Coral TPU driver 2024-08-12 18:47:04 -05:00
files r/gasket-dkms: Build/sign Coral TPU driver 2024-08-12 18:47:04 -05:00
handlers r/gasket-dkms: Build/sign Coral TPU driver 2024-08-12 18:47:04 -05:00
tasks r/gasket-dkms: Build/sign Coral TPU driver 2024-08-12 18:47:04 -05:00
vars r/gasket-dkms: Build/sign Coral TPU driver 2024-08-12 18:47:04 -05:00