[arch-dev-public] out of tree modules and alpm-hooks
seblu at seblu.net
Fri Feb 19 01:27:21 UTC 2016
I pushed into community-testing a new version of dkms, with an alpm hook to
build oot modules at install time, instead of at startup time with the systemd
The hooks is very simple; it build and install dkms registered modules for all
installed kernel version when a package ending by -dkms is installed or
So, installing or updating a *-dkms package (e.g virtualbox-host-dkms or
nvidia-340xx-dkms) build and install the shipped modules and allow to use it
like the binary package (e.g modprobe nvidia).
As a consequence, loading of oot modules at boot are back to modules-load.d
If everything works correctly, we could get ride of pre-compiled oot modules
packages (e.g virtualbox-host-modules) for linux and linux-lts and offer a
unique approach for all kernels (arch, lts, zen, grsec).
Do you think we should define a better way to match package which should
trigger dkms rebuild? I firstly thought to use a provides=('DKMS_MODULE'), but
alpm hooks don't match provides.
Sébastien "Seblu" Luttringer
https://seblu.net | Twitter: @seblu42
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 811 bytes
Desc: This is a digitally signed message part
More information about the arch-dev-public