Description of problem: mkkerneldoth only works using `uname -r`, and only outputs its result to /boot/kernel.h. DKMS would like to be able to use this great mechanism, but not rely on `uname -r` but pass it in instead, and not write to /boot/kernel.h but to a file in the DKMS build tree which gets picked up instead. This is so we can avoid the need to do a make dep on the kernel tree and ruin the good work you've gone to. Also saves many minutes per kernel object you want built as you don't have to make dep any more. Patch to mkkerneldoth to accept two new arguments attached. Applies against that in initscripts-7.28-1.
Created attachment 94763 [details] mkkerneldoth.patch
Actually... Long term the plan is for mkkerneldoth to go away, and just have the headers be in a /lib/modules/`uname -r`/build *directory* for each kernel, I believe.
OK, that's fine. Can you apply the patch until such a time?
mkkerneldoth is severly no it's way out. severn/cambridge/whateveritisnamedthisweek is the very very last release with this ugly hack in.
OK, DKMS can carry around its own copy for use on older OS releases, and we'll need to figure out how to decide it isn't needed anymore - perhaps by the absence of /boot/kernel.h. I figured I'd ask upstream first. Closing.