|
@@ -16,7 +16,7 @@ modules in Linux kernels greater than or equal to version 2.5.47.</para>
|
|
|
<segmentedlist>
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
<segtitle>&diskspace;</segtitle>
|
|
|
-<seglistitem><seg>0.1 SBU</seg><seg>4.9 MB</seg></seglistitem>
|
|
|
+<seglistitem><seg>0.3 SBU</seg><seg>3.3 MB</seg></seglistitem>
|
|
|
</segmentedlist>
|
|
|
|
|
|
<segmentedlist>
|
|
@@ -29,32 +29,28 @@ Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, and Sed</seg></seglistit
|
|
|
<sect2 role="installation">
|
|
|
<title>Installation of Module-Init-Tools</title>
|
|
|
|
|
|
-<para>Module-Init-Tools attempts to rewrite its
|
|
|
-<filename>modprobe.conf</filename> man page during the build process. This is
|
|
|
-unnecessary and also relies on <command>docbook2man</command> — which is not
|
|
|
-installed in LFS. Run the following command to avoid this:</para>
|
|
|
+<para>Issue the following commands to perform the tests (note that the
|
|
|
+<command>make distclean</command> command is required to clean up the source
|
|
|
+tree, as the source gets recompiled as part of the testing process):</para>
|
|
|
|
|
|
-<screen><userinput>touch modprobe.conf.5</userinput></screen>
|
|
|
-
|
|
|
-<para>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 <command>make distclean</command> command is
|
|
|
-required to clean up the source tree, as the source gets recompiled as part of
|
|
|
-the testing process):</para>
|
|
|
-
|
|
|
-<screen><userinput>tar -xvf ../module-init-tools-testsuite-&module-init-tools-version;.tar.bz2 --strip-components=1 &&
|
|
|
-./configure &&
|
|
|
+<screen><userinput>./configure &&
|
|
|
make check &&
|
|
|
make distclean</userinput></screen>
|
|
|
|
|
|
<para>Prepare Module-Init-Tools for compilation:</para>
|
|
|
|
|
|
-<screen><userinput>./configure --prefix="" --enable-zlib</userinput></screen>
|
|
|
+<screen><userinput>./configure --prefix="" --mandir=/usr/share/man \
|
|
|
+ --enable-zlib</userinput></screen>
|
|
|
|
|
|
<para>The meaning of the configure options:</para>
|
|
|
|
|
|
<variablelist>
|
|
|
<varlistentry>
|
|
|
+<term><parameter>--mandir=/usr/share/man</parameter></term>
|
|
|
+<listitem><para>This ensures the man pages are installed in the correct
|
|
|
+location.</para></listitem>
|
|
|
+</varlistentry>
|
|
|
+<varlistentry>
|
|
|
<term><parameter>--enable-zlib</parameter></term>
|
|
|
<listitem><para>This allows the Module-Init-Tools package to handle compressed
|
|
|
kernel modules.</para></listitem>
|
|
@@ -76,9 +72,8 @@ kernel modules.</para></listitem>
|
|
|
|
|
|
<segmentedlist>
|
|
|
<segtitle>Installed programs</segtitle>
|
|
|
-<seglistitem><seg>depmod, insmod,
|
|
|
-insmod.static, lsmod (link to insmod), modinfo, modprobe (link to
|
|
|
-insmod), and rmmod (link to insmod)</seg></seglistitem>
|
|
|
+<seglistitem><seg>depmod, generate-modprobe.conf, insmod,
|
|
|
+insmod.static, lsmod, modinfo, modprobe, and rmmod</seg></seglistitem>
|
|
|
</segmentedlist>
|
|
|
|
|
|
<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
@@ -95,6 +90,14 @@ automatically load the required modules</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
+<varlistentry id="generate-modprobe.conf">
|
|
|
+<term><command>generate-modprobe.conf</command></term>
|
|
|
+<listitem>
|
|
|
+<para>Creates a modprobe.conf file from an existing 2.2 or 2.4 module setup</para>
|
|
|
+<indexterm zone="ch-system-module-init-tools generate-modprobe.conf"><primary sortas="b-generate-modprobe.conf">generate-modprobe.conf</primary></indexterm>
|
|
|
+</listitem>
|
|
|
+</varlistentry>
|
|
|
+
|
|
|
<varlistentry id="insmod">
|
|
|
<term><command>insmod</command></term>
|
|
|
<listitem>
|