dkms icon indicating copy to clipboard operation
dkms copied to clipboard

[RFE] rebuild with build --force

Open bill-mcgonigle opened this issue 4 years ago • 4 comments

# 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).

bill-mcgonigle avatar Feb 26 '20 19:02 bill-mcgonigle

Why this is not yet an option is beyond me... please add this dell!

gnif avatar Oct 20 '21 21:10 gnif

Closed because fixed? Why?

gnif avatar Nov 27 '21 04:11 gnif

@bill-mcgonigle why was this closed without explanation? You aren't the only one who'd love this shortcut.

draeath avatar Dec 03 '21 23:12 draeath

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!

barak avatar Apr 26 '22 14:04 barak

This issue should be fixed in https://github.com/dell/dkms/commit/8dc47a275ba79df91dbd8d17f27bad4dbcd62689

xuzhen avatar Sep 12 '22 03:09 xuzhen