[Pkg-spca5xx-devel] attention kernel module package maintainers: depmod changes

Joey Hess joey at kitenet.net
Mon Jun 12 01:45:56 UTC 2006


module-init-tools and modutils have changed in unstable to not run
modprobe on boot. For packages that contain kernel modules, this change
can cause problems if the package is installed on a system not currently
running the target kernel. Previously when the target kernel was booted
depmod would be run and it would find your modules; now that doesn't
happen and in this situation the modules won't be available to modprobe
(until the user runs depmod manually).

It's possible to fix this, and in debhelper 5.0.37, I've made
dh_installmodules add depmod calls to the postinst and postrm that are
designed to work even if the target kernel is not currently running. It 
looks like this:

	depmod -a -F /boot/System.map-2.6.16-2-686 2.6.16-2-686 || true

I suggest that you rebuild your kernel modules packages using this version
of dh_installmodules or, if you do it by hand, update your scripts to pass
the version information to depmod.

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-spca5xx-devel/attachments/20060611/ae2ca98f/attachment.pgp


More information about the Pkg-spca5xx-devel mailing list