[lfs-book] r10392 - trunk/BOOK/chapter06

bdubbs at higgs.linuxfromscratch.org bdubbs at higgs.linuxfromscratch.org
Fri Dec 13 17:48:22 PST 2013


Author: bdubbs
Date: Fri Dec 13 17:48:22 2013
New Revision: 10392

Log:
Simplify kmod installation instructions

Modified:
   trunk/BOOK/chapter06/kmod.xml

Modified: trunk/BOOK/chapter06/kmod.xml
==============================================================================
--- trunk/BOOK/chapter06/kmod.xml	Fri Dec 13 12:04:46 2013	(r10391)
+++ trunk/BOOK/chapter06/kmod.xml	Fri Dec 13 17:48:22 2013	(r10392)
@@ -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 @@
 
 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">



More information about the lfs-book mailing list