[Pkg-dkms-maint] Bug#560822: Bug#560822: Bug#560822: dkms: please autorebuild modules when new kernel images are installed

Michael Gilbert michael.s.gilbert at gmail.com
Sat Feb 13 20:07:57 UTC 2010


On Sat, 13 Feb 2010 20:38:40 +0100 Giuseppe Iuculano wrote:

> tag 560822 - patch
> 
> Il 12/12/2009 19:10, Michael Gilbert ha scritto:
> > reopen 560822
> > tag 560822 patch
> > thanks
> > 
> > i've created a patch that automatically fetches the headers if they
> > are missing.  see attached debdiff.  i believe error checking is
> > sufficient because if apt-get fails, then the existance of the modules
> > is checked again, and an error is thrown if they are still missing.
> > 
> 
> This is not a good idea, we can't call apt-get from a postinst.

my intent for this patch is for it to be executed only during the boot
dkms module rebuild process.  from brief testing, i've seen that this
is the case (it is only executed at boot or runlevel change).

i do not believe that dkms_autoinstaller is actually called during the
postinst (unless i'm missing something).  i do see that in the postinst,
update-rc.d is used to update the contents of the script, but it does
not appear to be called there.

mike





More information about the Pkg-dkms-maint mailing list