On Mon, 2011-03-21 at 06:17 +0100, Harald Dunkel wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 03/20/11 18:23, Ben Hutchings wrote: > > On Sun, 2011-03-20 at 16:49 +0100, Harald Dunkel wrote: > >> > >> Obviously the dkms script should not be run by the postinst script > >> of linux-image, but of linux-headers. Shouldn't we distinguish > >> between the hooks for linux-image and for linux-headers somehow? > > > > The headers package should invoke hook scripts in > > /etc/kernel/header_postinst.d (etc). dkms already installs a hook > > script there. > > > > Sorry, I missed that. > > Do you think that dkms should drop its /etc/kernel/postinst.d/dkms > script? AFAICS this script might be called before the headers are > installed. It presumably should not rebuild modules unless both the image and header packages are installed. Depending on the order those packages are installed, either hook may trigger this. Also, it may be useful to warn the user when only the image package is upgraded. Ben. -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse.
Description: This is a digitally signed message part