aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-02-18 17:06:32 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-02-18 17:06:32 +0000
commitaa976fe887a78c5b890f67bdb130d35a828770eb (patch)
tree0d6b91a48bb5ff4dad8c0cd6f37105a778bfda81
parent3dc9543a1ecaf9e380274b64d85bca7e3d90784a (diff)
Really fix the kmod man page issue
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10481 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter06/kmod.xml18
1 files changed, 11 insertions, 7 deletions
diff --git a/chapter06/kmod.xml b/chapter06/kmod.xml
index c772c6436..ff02f6eeb 100644
--- a/chapter06/kmod.xml
+++ b/chapter06/kmod.xml
@@ -47,6 +47,7 @@
--bindir=/bin \
--sysconfdir=/etc \
--with-rootlibdir=/lib \
+ --disable-manpages \
--with-xz \
--with-zlib</userinput></screen>
@@ -59,7 +60,7 @@
<para>These options enable Kmod to handle compressed kernel modules.</para>
</listitem>
</varlistentry>
-<!--
+
<varlistentry>
<term><parameter>- -disable-manpages</parameter></term>
<listitem>
@@ -68,7 +69,7 @@
environment.</para>
</listitem>
</varlistentry>
--->
+
<varlistentry>
<term><parameter>--with-rootlibdir=/lib</parameter></term>
<listitem>
@@ -87,10 +88,10 @@
<screen><userinput remap="test">make check</userinput></screen>
- <para>Install the package, and create symlinks for compatibility with
- Module-Init-Tools, the package that previously handled Linux kernel modules.
- Also make sure that all libraries are in the correct directory:
- </para>
+ <para>Install the package, create symlinks for compatibility with
+ Module-Init-Tools (the package that previously handled Linux kernel
+ modules), and manually install the man pages. Also make sure that all
+ libraries are in the correct directory: </para>
<screen><userinput remap="install">make install
@@ -98,7 +99,10 @@ for target in depmod insmod modinfo modprobe rmmod; do
ln -sv ../bin/kmod /sbin/$target
done
-ln -sv kmod /bin/lsmod</userinput></screen>
+ln -sv kmod /bin/lsmod
+
+cp -v man/*.5 /usr/share/man/man5
+cp -v man/*.8 /usr/share/man/man8</userinput></screen>
</sect2>