-   Linux - Software (
-   -   dkms don't auto build/install (

replica9000 09-19-2016 06:41 PM

dkms don't auto build/install
Is there a way I can stop DKMS from trying to automatically build modules when a new kernel is installed? I'd rather just manually use DKMS when I'm ready to switch to the new kernel.

I've changed AUTOINSTALL="no" in the modules' dkms.conf file, but dkms is still triggered upon a new kernel install.

petelq 09-21-2016 06:05 AM

I have to enable dkms as a systemctl service for it to work automatically so I assume if you disable it and only enable when you want it that should do what you want.

replica9000 09-21-2016 10:29 PM

I don't see dkms listed as a service on my Debian system.

petelq 09-22-2016 04:48 AM


Originally Posted by replica9000 (Post 5608507)
I don't see dkms listed as a service on my Debian system.

That's weird. I'm not a techie but as I understand it, dkms picks up changes in (notified) hardware automatically that need module recompilation. It has to be a service or a daemon, which can be turned off, surely.

hydrurga 09-22-2016 05:16 AM

Would removing the dkms shell script from /etc/kernel/postinst.d and /etc/kernel/header_postinst.d do the trick?

All times are GMT -5. The time now is 08:34 AM.