|
@@ -43,18 +43,19 @@
|
|
|
|
|
|
<para>Prepare Kmod for compilation:</para>
|
|
<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>
|
|
--with-zlib</userinput></screen>
|
|
|
|
|
|
<variablelist>
|
|
<variablelist>
|
|
<title>The meaning of the configure options:</title>
|
|
<title>The meaning of the configure options:</title>
|
|
|
|
|
|
<varlistentry>
|
|
<varlistentry>
|
|
- <term><parameter>--with-*</parameter></term>
|
|
|
|
|
|
+ <term><parameter>--with-xz, --with-zlib</parameter></term>
|
|
<listitem>
|
|
<listitem>
|
|
<para>These options enable Kmod to handle compressed kernel modules.</para>
|
|
<para>These options enable Kmod to handle compressed kernel modules.</para>
|
|
</listitem>
|
|
</listitem>
|
|
@@ -69,6 +70,14 @@
|
|
</listitem>
|
|
</listitem>
|
|
</varlistentry>
|
|
</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>
|
|
</variablelist>
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
<para>Compile the package:</para>
|
|
@@ -92,11 +101,6 @@ done
|
|
|
|
|
|
ln -sv kmod /bin/lsmod</userinput></screen>
|
|
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>
|
|
|
|
|
|
<sect2 id="contents-kmod" role="content">
|
|
<sect2 id="contents-kmod" role="content">
|