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:
touch modprobe.conf.5
If you wish to run the test suite for Module-Init-Tools, you will need to download the separate testsuite tarball. Issue the following commands to perform the tests (note that the make distclean command is required to clean up the source tree, as the source gets recompiled as part of the testing process):
tar -xvf ../module-init-tools-testsuite-3.1.tar.bz2 --strip-path=1 && ./configure && make check && make distclean
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:
make
Install the package:
make install