aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2011-10-12 21:34:45 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2011-10-12 21:34:45 +0000
commit18fd33b46962d5b3920363d0e6739f1f63a7f063 (patch)
treea138ea1a0431a0d85807baae2080fac12aec537c /chapter06
parent9fbc54d7ae723add0b2177329bdb413010b8faea (diff)
Upgrade to Module-Init-Tools-3.16. Fixes #2882.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9629 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/module-init-tools.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/chapter06/module-init-tools.xml b/chapter06/module-init-tools.xml
index 54fc310e2..aff6383c0 100644
--- a/chapter06/module-init-tools.xml
+++ b/chapter06/module-init-tools.xml
@@ -41,10 +41,10 @@
<sect2 role="installation">
<title>Installation of Module-Init-Tools</title>
- <para>To avoid a problem with regenerating the man pages when not needed,
- first rewrite a file that just points to another man page:</para>
+ <para>Apply a patch that contains the generated man pages that were missing
+ from the released source tarball:</para>
-<screen><userinput remap="pre">echo '.so man5/modprobe.conf.5' > modprobe.d.5</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&module-init-tools-man-patch;</userinput></screen>
<para>The test suite of this package is geared towards the needs of its
Maintainer. The command <command>make check</command> builds a specially
@@ -53,14 +53,15 @@
<command>make clean</command> command is required to clean up the source
tree before recompiling for normal use):</para>
-<screen><userinput remap="test">./configure
+<screen><userinput remap="test">DOCBOOKTOMAN=/bin/true ./configure
make check
+sed -i -e 's@../../configure@DOCBOOKTOMAN=/bin/true &amp;@' tests/runtests
./tests/runtests
make clean</userinput></screen>
<para>Prepare Module-Init-Tools for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/ --enable-zlib-dynamic --mandir=/usr/share/man</userinput></screen>
+<screen><userinput remap="configure">DOCBOOKTOMAN=/bin/true ./configure --prefix=/ --enable-zlib-dynamic --mandir=/usr/share/man</userinput></screen>
<para>Compile the package:</para>