Bug#574758: dkms postinst script called before headers are set up
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Package: linux-image-2.6.32-4-amd64
Version: 2.6.32-10
It seems that /etc/kernel/postinst.d/dkms is called to rebuild additional
kernel modules before the kernel headers are set up. Sample session:
Setting up linux-image-2.6.32-4-amd64 (2.6.32-10) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-4-amd64
Running /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-4-amd64
Found initrd image: /boot/initrd.img-2.6.32-4-amd64
Found memtest86 image: /boot/memtest86.bin
Found Ubuntu lucid (development branch) (10.04) on /dev/sda1
done
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 2.6.32-4-amd64 /boot/vmlinuz-2.6.32-4-amd64
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-4-amd64 /boot/vmlinuz-2.6.32-4-amd64
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.32-4-amd64 /boot/vmlinuz-2.6.32-4-amd64
Setting up linux-headers-2.6.32-4-common (2.6.32-10) ...
Setting up linux-kbuild-2.6.32 (2.6.32-1) ...
Setting up linux-headers-2.6.32-4-amd64 (2.6.32-10) ...
This looks weird.
Regards
Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkulLT4ACgkQUTlbRTxpHjd/ygCfRIYpBeB2b+4F33BSohG83UT4
esoAoJFW92dhI8I5vHpnInPkPyL2MT8d
=L+6e
-----END PGP SIGNATURE-----
Reply to: