On Sun, 2011-03-20 at 16:49 +0100, Harald Dunkel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi folks,
>
> I am using upstream's build procedure for creating Linux kernel packages
> ("make deb-pkg"). For 2.6.38 it gives you these packages:
>
> linux-firmware-image_2.6.38-1_amd64.deb
> linux-headers-2.6.38_2.6.38-1_amd64.deb
> linux-image-2.6.38_2.6.38-1_amd64.deb
> linux-libc-dev_2.6.38-1_amd64.deb
>
> Problem: The run-parts scripts in /etc/kernel/postinst.d are run
> by the linux-image postinst script before the header files are
> installed. Of course this fails for the dkms script on the first
> installation of a new kernel version.
>
> 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.
Ben.
--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
Attachment:
signature.asc
Description: This is a digitally signed message part