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

Re: auto-install modules when installing a new kernel



On Mon, 16 Apr 2007 12:52:43 -0400
Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> 
> I need a few kernel modules that are not included in the stock kernel.
> module-assistant makes it pretty easy to compile&install them, but I still
> wish it were even more transparent.
> 
> I.e. I'd like to be able to automatically compile&install those modules for
> every new kernel I install (and also automatically remove those
> installed modules/packages before removing the corresponding kernel).
> 
> Any idea how to do that?  I can't be the only one who's tired to forgetting
> to auto-reinstall his ipw3945/fglrx/... modules.
> 
> 
>         Stefan

Install 'kernel-package'. From
'/uss/share/kernel-package/docs/README.modules':

>                Add on modules and the kernel-package
>                 === == ======= === === ==============
> 
>         There are a number of add-on modules (that is, kernel modules
>  are developed apart from the Linux kernel and do not appear in the
>  mainstream kernel sources). Notables, at the time of writing, are the
>  pcmcia-cs and and the alsa sound modules.
> 
>         Most of these modules need to be compiled for each kernel
>  version; they are very dependent on kernel structures. It was
>  suggested that it would be nice to be able to build the add-on
>  modules whenever one created a new kernel, and kernel-package
>  provides some mechanisms to do so for co-operating add-on modules.

I haven't tried this, although I should (Madwifi, ndiswrapper).

Celejar



Reply to: