Adding to $kernelmodules

Thomas Lange lange at informatik.uni-koeln.de
Thu Sep 24 17:52:20 CEST 2009


>>>>> On Thu, 24 Sep 2009 10:45:39 -0500, "John G. Heim" <jheim at math.wisc.edu> said:

    > I am trying to load a module during installation. I found a note in the file 

    > FAIBASE.var that I can do that by adding the module name to $kernelmodules. 
    > But I'm not sure how to do that. I tried adding it in that same file as 
    > shown below but it does not work:

    > # MODULESLIST contains modules that will be loaded by the new system,
    > kernelmodules="speakup_ltlk $kernelmodules"
    > What is the correct way to add a module to $kernelmodules?

Hi John,

$kernelmodules is the right way to do this, but not in
FAIBASE.var. The variable is used in 20-hwdetect.source, which is
executed before FAIBASSE.var is sourced. You can just edit your
20-hwdetect.source script and add modules there to $kernelmodules.

-- 
best regards Thomas


More information about the linux-fai mailing list