mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
Simplify kmod installation instructions
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10392 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a326b1d77c
commit
17c46c2bf3
@ -43,18 +43,19 @@
|
||||
|
||||
<para>Prepare Kmod for compilation:</para>
|
||||
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||
--bindir=/bin \
|
||||
--sysconfdir=/etc \
|
||||
--disable-manpages \
|
||||
--with-xz \
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||
--bindir=/bin \
|
||||
--sysconfdir=/etc \
|
||||
--disable-manpages \
|
||||
--with-rootlibdir=/lib \
|
||||
--with-xz \
|
||||
--with-zlib</userinput></screen>
|
||||
|
||||
<variablelist>
|
||||
<title>The meaning of the configure options:</title>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--with-*</parameter></term>
|
||||
<term><parameter>--with-xz, --with-zlib</parameter></term>
|
||||
<listitem>
|
||||
<para>These options enable Kmod to handle compressed kernel modules.</para>
|
||||
</listitem>
|
||||
@ -69,6 +70,14 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--with-rootlibdir=/lib</parameter></term>
|
||||
<listitem>
|
||||
<para>This option ensures different library related files are placed
|
||||
in the correct directories.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
@ -92,11 +101,6 @@ done
|
||||
|
||||
ln -sv kmod /bin/lsmod</userinput></screen>
|
||||
|
||||
<para> Make sure that all libraries are in the correct directory: </para>
|
||||
|
||||
<screen><userinput remap="install">mv -v /usr/lib/libkmod.so.* /lib
|
||||
ln -svf ../../lib/$(readlink /usr/lib/libkmod.so) /usr/lib/libkmod.so</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 id="contents-kmod" role="content">
|
||||
|
Loading…
Reference in New Issue
Block a user