Hello Sam,
Saturday, April 3, 2010, 11:21:34 PM, you wrote:
> How do I compile my driver for a new kernel _before_ actually
booting
> into that new kernel, so that I could be prepared with the new kernel
> module already on first reboot?
My advice is to investigate whether you can package it to work with
DKMS:
You can write infrastructure yourself, you can probably use akmods,
but I have done exactly what you require for other kernel modules
using DKMS as the infrastructure.
FWIW, DKMS doesn't normally pre-build the module, it builds it
on
first boot into the kernel - so it's not exactly what you want.
Oh, that sounds interesting! I'll try to read and study how this
thing works, although it doesn't seem to be as easy as I thought... :)
--
Best regards,
Andrew