saber-nyan / kernel-modules-hook

Keeps your Arch Linux fully functional after a kernel upgrade
The Unlicense
342 stars 25 forks source link

Saving DKMS modules #13

Open smac89 opened 3 years ago

smac89 commented 3 years ago

Can we make this work with DKMS? I believe all you need is to add another path target for:

usr/src/*/dkms.conf

Doing this will allow your script to save kernel modules that will be removed by dkms. Please consider doing this

L30Bola commented 1 year ago

Any idea on how to fix this issue, @smac89 (or @saber-nyan)? After installing the kernel-modules-hook, my Docker issues disappeared, but now, every time I update the Kernel and reboot the system, my DKMS modules (which as far as I'm concerned, I've seeing the hook proc on the Pacman log) need to be reinstalled. Basically I do a dkms autoinstall and everything works again, but still, kinda boring I need to manually do this.

John-Gee commented 11 months ago

I've tried to add this feature, please try it on my fork and see if that works for you: https://github.com/John-Gee/kernel-modules-hook