From 9b6a7d0902d7774f62ba6fde97ee8dab3408841b Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Sat, 26 Nov 2005 20:20:01 +0000 Subject: Upgrade to module-init-tools 3.2.1 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7189 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/module-init-tools.xml | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) (limited to 'chapter06') diff --git a/chapter06/module-init-tools.xml b/chapter06/module-init-tools.xml index 548687df1..947957465 100644 --- a/chapter06/module-init-tools.xml +++ b/chapter06/module-init-tools.xml @@ -16,7 +16,7 @@ modules in Linux kernels greater than or equal to version 2.5.47. &buildtime; &diskspace; -0.1 SBU4.9 MB +0.3 SBU3.3 MB @@ -29,32 +29,28 @@ Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, and Sed Installation of Module-Init-Tools -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: +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): -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-&module-init-tools-version;.tar.bz2 --strip-components=1 && -./configure && +./configure && make check && make distclean Prepare Module-Init-Tools for compilation: -./configure --prefix="" --enable-zlib +./configure --prefix="" --mandir=/usr/share/man \ + --enable-zlib The meaning of the configure options: +--mandir=/usr/share/man +This ensures the man pages are installed in the correct +location. + + --enable-zlib This allows the Module-Init-Tools package to handle compressed kernel modules. @@ -76,9 +72,8 @@ kernel modules. Installed programs -depmod, insmod, -insmod.static, lsmod (link to insmod), modinfo, modprobe (link to -insmod), and rmmod (link to insmod) +depmod, generate-modprobe.conf, insmod, +insmod.static, lsmod, modinfo, modprobe, and rmmod Short Descriptions @@ -95,6 +90,14 @@ automatically load the required modules + +generate-modprobe.conf + +Creates a modprobe.conf file from an existing 2.2 or 2.4 module setup +generate-modprobe.conf + + + insmod -- cgit v1.2.3-54-g00ecf