Ubuntu kernel updates

Alexander Brinkman a.brinkman at marin.nl
Tue Jun 12 07:48:16 CDT 2007


On Tue, 2007-06-12 at 07:35 -0500, Matt Domsch wrote:
> Now, I think we've got a solution to this too.  Lucky for us, there's
> another hook we can use.  The linux-headers package lets us define:
> 
>   header_postinst_hook=/etc/kernel/postinst.d/dkms 
> 
> in /etc/kernel-img.conf.  This gets called at runtime after
> linux-headers gets installed; and we can use it to invoke the
> dkms_autoinstaller again.

Ah, I wasn't aware of a header postinst hook. Well, that would solve the
whole issue... :)

> This means, you'll need AUTOINSTALL=yes in your dkms.conf files, but
> with that, it should all work automagically.  I think...

Yeah. And having the AUTOINSTALL=yes enabled in the dkms.conf file would
be a requisite anyways for modules that are built when installing a new
kernel. I think all DKMS kernel modules available from Dell already have
this defined, so no problems there.

> Thoughts?

Seems fine to me. Looks like this will solve all issues neatly.

(It would also rid us of having to build the modules at boot time,
possible being too late for the module to load because the network or
SCSI drivers would already have been loaded, etc.)

Best regards,
  Alexander Brinkman,
  MARIN.
--------------------------------------------------------



More information about the DKMS-devel mailing list