[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Adding a module to initramfs-tools/modules?



Hello,

Frans Pop, le Wed 03 Dec 2008 08:13:06 +0100, a écrit :
> On Wednesday 03 December 2008, Samuel Thibault wrote:
> > Samuel Thibault, le Tue 02 Dec 2008 23:58:05 +0100, a écrit :
> > > > 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.
> >
> > Ah but then it won't be available for initramfs construction, grmbl.
> 
> Right. I'm starting to think though that we probably should have some 
> mechanism in base-installer to allow packages to pre-register that they 
> want a module package installed matching the selected kernel.
> That could then be used by both partman-crypto and speakup.
> 
> A proposals with a patch that implements something like that would be 
> welcome.

Ok, the eventual solution is just way simpler: since speakup is now in
the standard kernel images, I've just added the register-module call to
debian-installer-startup.d, and it works just fine.  I've also dropped
the automatic module packages installation since they don't exist any
more.

Samuel
(Once more, thanks to Frans for having taken the time to discuss about
it...)


Reply to: