FS#38395 - [dkms] should compress modules with .gz by default to match existing kernel modules
Attached to Project:
Community Packages
Opened by Gaute Hope (gauteh) - Monday, 06 January 2014, 11:57 GMT
Last edited by Sébastien Luttringer (seblu) - Monday, 25 August 2014, 14:16 GMT
Opened by Gaute Hope (gauteh) - Monday, 06 January 2014, 11:57 GMT
Last edited by Sébastien Luttringer (seblu) - Monday, 25 August 2014, 14:16 GMT
|
Details
For dkms packages that have replace existing kernel modules
they will not be overwritten unless they are compressed (as
is the default for stock kernel modules), it seems that the
compressed (.gz) module is used first. DKMS does not detect
the existing compressed module when a uncompressed
dkms-module is built and installed.
Expected behaviour: a.) either check whether there are existing modules that are either compressed or not b.) or, always compress dkms modules. Noticed this in the input-wacom git package. |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Monday, 25 August 2014, 14:16 GMT
Reason for closing: Not a bug
Monday, 25 August 2014, 14:16 GMT
Reason for closing: Not a bug
No, this isn't true -- all modules are created equal (anything else is a bug worth reporting). Depmod configuration in /usr/lib/depmod.d and /etc/depmod.d determines the lookup order.
- rename new modules (append _dkms to name)
- blacklist the old
Option b) Same issue, there is more than one compression format and it's not the job of dkms to order which modules should be loaded.
As Dave generously suggested, override of modules of the same name should be handled by putting a file (by the package) in /usr/lib/depmod.d. I didn't try, but the man page depmod.d give an example of that problem.