Re: Adding a module to initramfs-tools/modules?
Frans Pop, le Tue 02 Dec 2008 23:40:29 +0100, a écrit :
> On Monday 01 December 2008, Samuel Thibault wrote:
> > So I'm wondering: would it be ok to add the speakup module to
> > initramfs-tools/modules and re-run update-initramfs from 05speakup?
> Re-running initramfs-tools is slow and thus nasty and should be avoided
> whenever possible.
> If it can be done, the best place to do this would be in a
> post-base-installer.d hook script. However, that may too early because at
> that point the kernel is not selected yet, so you may not be able to
> install the correct kernel module package yet.
Mmm, the correct module package installation could be left in the
finish-install.d hook script.
> Adding to initramfs-tools/modules is of course possible and there's even
> an official interface available for that (see register-module* in
> d-i-utils source).
Ah ok, cool, I'll try that!
> Note that this is too late for Lenny.
Sure, that was more a wishlist anyway, what we already have in Lenny is
fine when things go fine.