Rebuilding drbd-dkms without reinstalling .deb

If you ever need to rebuild the drbd-dkms (or any dkms) without uninstalling the package and reinstalling the package, the following work flow does the trick:

# dkms remove drbd/9.0.16-1 -k $(uname -r)

# dkms build drbd/9.0.16-1 -k $(uname -r)

# dkms install drbd/9.0.16-1 -k $(uname -r)

Reviewed 2020/12/02 - DGT