diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2013-12-14 01:48:22 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2013-12-14 01:48:22 +0000 |
commit | 17c46c2bf39668ff70f0db7b35cf12213986f613 (patch) | |
tree | 19b4c691efba7fa9df595bfb0a25846d8be1ed84 /chapter06 | |
parent | a326b1d77c3bb9f9f6368c4d0c0346e03aa76ff9 (diff) |
Simplify kmod installation instructions
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10392 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/kmod.xml | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/chapter06/kmod.xml b/chapter06/kmod.xml index 0b84f5b3a..8c56463bd 100644 --- a/chapter06/kmod.xml +++ b/chapter06/kmod.xml @@ -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"> |