FS#47487 - [linux] Install dkms modules in post_upgrade/post_install hook
Attached to Project:
Arch Linux
Opened by Jörg Thalheim (Mic92) - Tuesday, 22 December 2015, 12:17 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 18 November 2016, 00:52 GMT
Opened by Jörg Thalheim (Mic92) - Tuesday, 22 December 2015, 12:17 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 18 November 2016, 00:52 GMT
|
Details
Description:
It would be useful build dkms modules (if dkms is available) before generating initramfs, because they might be required in the initramfs. In my case, I use the zfs-dkms module and have to do this manually before rebooting, because otherwise I cannot mount my rootfs on the next run. The dkms service does therefor not solve. As this service is triggered at multi-user.target it might even has a race condition with services depending on certain dkms modules (if somebody wants to start virtualbox at startup). I see a use case, where someone do not want to load a certain module for a certain kernel version, but this could be solved by blacklisting (most people want to use the dkms modules, they have installed anyway) If the main kernel package would stick to this practice, other kernel packages might follow, so dkms modules would be become usable across different kernel variants. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Friday, 18 November 2016, 00:52 GMT
Reason for closing: Fixed
Additional comments about closing: linux 4.8.8-2
Friday, 18 November 2016, 00:52 GMT
Reason for closing: Fixed
Additional comments about closing: linux 4.8.8-2
This one probably works better as it trigger even when installing a new kernel:
https://github.com/alucryd/pachooks/blob/master/hooks/dkms-install.hook