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

David Paleino dapal at debian.org
Sat Dec 12 16:16:26 UTC 2009


reopen 560822
retitle 560822 make sure proper kernel headers are installed at kernel install-time
thanks

On Saturday 12 December 2009 12:06:22, Michael Gilbert wrote:
> On Sat, 12 Dec 2009 16:56:20 +0100 David Paleino wrote:
> > On Saturday 12 December 2009 11:40:04, Michael Gilbert wrote:
> > > dkms status had said:
> > >
> > > # dkms status
> > > fglrx, 9-11, 2.6.31-2-amd64, x86_64: installed
> > >
> > > i looked through /var/log/messages and saw something that said
> > > 'dkms_autobuild: missing linux-headers-2.6.32', so i installed
> > > the headers.  now the module is built during boot and loaded:
> > >
> > > # dkms status
> > > fglrx, 9-11, 2.6.32-trunk-amd64, x86_64: installed
> > >
> > > so, it looks like the solution is to make sure that the correct headers
> > > are installed alongside new kernel updates when using dkms.
> >
> > Exactly. :)
> 
> should dkms somehow enforce this (via an appropriate set of
> dependencies)?

That's not possible, AFAIK. Also consider we're not depending on any kernel
version, so specifying "linux-headers-something" is not really possible.

> a lot of users are going to do the exact same thing
> when updating their kernel, and you may get a lot of similar bug
> reports.  you could reduce their pain and yours by doing a little more
> automagic.

I'm reopening the bug just to listen/read what other team members think about
this.
We could probably add an apt-get call to /etc/kernel/postinst.d/dkms , but I'm
not sure that would be acceptable.

(also, bug retitled for the purpose)

Kindly,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-dkms-maint/attachments/20091212/ac91a6b7/attachment-0002.pgp>


More information about the Pkg-dkms-maint mailing list