LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2016, 05:41 PM   #1
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,065
Blog Entries: 2

Rep: Reputation: 227Reputation: 227Reputation: 227
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.
 
Old 09-21-2016, 05:05 AM   #2
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a regularly changing third
Posts: 555

Rep: Reputation: Disabled
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.
 
Old 09-21-2016, 09:29 PM   #3
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,065

Original Poster
Blog Entries: 2

Rep: Reputation: 227Reputation: 227Reputation: 227
I don't see dkms listed as a service on my Debian system.
 
Old 09-22-2016, 03:48 AM   #4
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a regularly changing third
Posts: 555

Rep: Reputation: Disabled
Quote:
Originally Posted by replica9000 View Post
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.
 
Old 09-22-2016, 04:16 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to build a kernel module with DKMS on Linux LXer Syndicated Linux News 0 04-08-2016 06:32 AM
[SOLVED] Linux 4.0 is in unstable, warning: nvidia-kernel-dkms won't build properly Daws Debian 2 05-13-2015 07:59 PM
Have to run a dkms build to install acx111 driver pottzie Linux - Networking 0 10-20-2012 10:24 PM
dkms-nvidia-current dkms install fails X86_64 Blackhawkckc Mandriva 5 03-21-2009 04:57 PM
module-assistant auto-install ov511 ... make: *** [build-stamp] Error 2 brynjarh Linux - Hardware 1 11-13-2005 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration