mkdeb without dkms add
Bug #238864 reported by
Martin Pitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DKMS |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
It would be really nice if mkdeb, mkrpm, etc. would work without needing to "dkms add" the driver first. The latter needs special privileges to write into /usr/src, and also disrupts an already installed version of the driver to be packaged. For developing and packaging drivers it would generally be preferable to not deal with any system directory. Would it be possible to do "dkms mkdeb --sourcedir /path/to/source"?
Changed in somerville: | |
status: | New → Fix Released |
no longer affects: | dell |
To post a comment you must log in.
This would take some work; additionally, it would only be useful for --source-only debs, because dkms looks in the /var/lib/ dkms/<module> /<version> /<kernel> directory for the built modules to include.
You can avoid use of system directories by editing /etc/dkms_ framework. conf to point at other locations for which you do have write permissions. I'd accept a patch to make it use an alternate configuration file.