dkms
dkms copied to clipboard
[RFE] rebuild with build --force
# dkms build --force zfs/0.8.3
Module zfs/0.8.3 already built for kernel 4.19.0-8-amd64/4
Came here via https://bugs.launchpad.net/dkms/+bug/1265136
The suggestion there is to remove and build(then install) the module, but this leaves a race condition where something else could be modprobing while the sysadmin is rebuilding. It would be sweet (and less risky) to just allow the user to rebuild in place, then install the rebuilt module. This comes up when changing the build parameters (in my current case, enabling debug symbols on a build via conf file).
Why this is not yet an option is beyond me... please add this dell!
Closed because fixed? Why?
@bill-mcgonigle why was this closed without explanation? You aren't the only one who'd love this shortcut.
This is a problem for me too. I pull in a new version of the module sources, and want to rebuild the module. Which seems like a very common use case!
This issue should be fixed in https://github.com/dell/dkms/commit/8dc47a275ba79df91dbd8d17f27bad4dbcd62689