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

Kel Modderman kelrin at tpg.com.au
Thu Jun 15 08:37:32 UTC 2006


Joey Hess wrote:
> 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.
>   

Otavio,

Could you please take care of a new spca5xx-modules upload when time 
permits? We do not require any change to the spca5xx-source package to 
support dh_installmodules.

I assisted in testing patches from Joey for the recent dh_installmodules 
changes, so it'd be a nice reward for that work :-)


Thanks, Kel.



More information about the Pkg-spca5xx-devel mailing list