mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Really fix the kmod man page issue
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10481 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
3dc9543a1e
commit
aa976fe887
@ -47,6 +47,7 @@
|
|||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--with-rootlibdir=/lib \
|
--with-rootlibdir=/lib \
|
||||||
|
--disable-manpages \
|
||||||
--with-xz \
|
--with-xz \
|
||||||
--with-zlib</userinput></screen>
|
--with-zlib</userinput></screen>
|
||||||
|
|
||||||
@ -59,7 +60,7 @@
|
|||||||
<para>These options enable Kmod to handle compressed kernel modules.</para>
|
<para>These options enable Kmod to handle compressed kernel modules.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<!--
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>- -disable-manpages</parameter></term>
|
<term><parameter>- -disable-manpages</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -68,7 +69,7 @@
|
|||||||
environment.</para>
|
environment.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
-->
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>--with-rootlibdir=/lib</parameter></term>
|
<term><parameter>--with-rootlibdir=/lib</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -87,10 +88,10 @@
|
|||||||
|
|
||||||
<screen><userinput remap="test">make check</userinput></screen>
|
<screen><userinput remap="test">make check</userinput></screen>
|
||||||
|
|
||||||
<para>Install the package, and create symlinks for compatibility with
|
<para>Install the package, create symlinks for compatibility with
|
||||||
Module-Init-Tools, the package that previously handled Linux kernel modules.
|
Module-Init-Tools (the package that previously handled Linux kernel
|
||||||
Also make sure that all libraries are in the correct directory:
|
modules), and manually install the man pages. Also make sure that all
|
||||||
</para>
|
libraries are in the correct directory: </para>
|
||||||
|
|
||||||
<screen><userinput remap="install">make install
|
<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
|
ln -sv ../bin/kmod /sbin/$target
|
||||||
done
|
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>
|
</sect2>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user