This fixes DKMS automatic rebuilds on kernel update install not working because before, it would attempt to use build files from the currently running kernel (which would no longer exist), instead of the build files of the kernel version being installed.
This fixes DKMS automatic rebuilds on kernel update install not working because before, it would attempt to use build files from the currently running kernel (which would no longer exist), instead of the build files of the kernel version being installed.