The Module-Init-Tools package contains programs for handling kernel modules in Linux kernels greater than or equal to version 2.5.47.
Module-Init-Tools attempts to rewrite its modprobe.conf man page during the build process. This is unnecessary and also relies on docbook2man — which is not installed in LFS. Run the following command to avoid this:
Prepare Module-Init-Tools for compilation:
./configure --prefix="" --enable-zlib
The meaning of the configure options:
This allows the Module-Init-Tools package to handle compressed kernel modules.
Compile the package:
To test the results, issue: make check.
Install the package:
Creates a dependency file based on the symbols it finds in the existing set of modules; this dependency file is used by modprobe to automatically load the required modules
Installs a loadable module in the running kernel
A statically compiled version of insmod
Lists currently loaded modules
Examines an object file associated with a kernel module and displays any information that it can glean
Uses a dependency file, created by depmod, to automatically load relevant modules
Unloads modules from the running kernel