Show
Ignore:
Timestamp:
07/09/00 22:37:13 (9 years ago)
Author:
frodo
Message:

MODDIR changes, as promised

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/INSTALL

    r832 r840  
    138138your kernel is located (LINUX=/usr/src/linux), where the i2c header files 
    139139are (I2C_HEADERS=/usr/local/include) and where you want to install  
    140 your modules (MODDIR=/lib/modules/KERNELVERSION/extra/misc) and 
     140your modules (MODDIR=/lib/modules/KERNELVERSION/misc) and 
    141141header files (LINUX_INCLUDE_DIR=/usr/local/include/linux). You can see 
    142142that the installation locations are choosen in such a way that they 
     
    194194PREFIX default: /usr/local 
    195195  Prefix for almost all installation directories 
    196 MODDIR default: /lib/modules/KERNELVERSION/extra/misc) 
     196MODDIR default: /lib/modules/KERNELVERSION/misc) 
    197197  The location where the kernel modules will be installed.  
    198198ETCDIR default: /etc 
     
    222222=========================================== 
    223223 
    224 Once you have installed the kernel modules, you will have to make sure 
    225 they are found. 
    226  
    227 First, check whether your modutils will look in the right directory at 
    228 all. If you used build system 1, you will probably have to add lines 
    229 to /etc/conf.modules or /etc/modules.conf (use the one that exists, or 
    230 take your pick): 
    231   (modules-2.0.0): 
    232     path[misc]=/lib/modules/current/extra/misc 
    233   (modutils-2.1.x): 
    234     path=/lib/modules/current/extra 
    235 This assumes /lib/modules/current will always be linked to the correct 
    236 modules tree. If not, you will have to change it as appropriate for 
    237 your system. 
    238  
    239 You may also have to add all default paths to this file. You can get 
    240 a list of them by doing a `modprobe -c', before and after your changes. 
    241  
    242 Next, you will have to run `depmod -a' to have them recognised. Most 
     224Run the command `depmod -a' to have the new modules recognised. Most 
    243225distributions run this command when you boot, so if you were cross- 
    244226compiling, you can skip this step.