From 17c46c2bf39668ff70f0db7b35cf12213986f613 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 14 Dec 2013 01:48:22 +0000 Subject: Simplify kmod installation instructions git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10392 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/kmod.xml | 26 +++++++++++++++----------- 1 file 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 @@ Prepare Kmod for compilation: -./configure --prefix=/usr \ - --bindir=/bin \ - --sysconfdir=/etc \ - --disable-manpages \ - --with-xz \ +./configure --prefix=/usr \ + --bindir=/bin \ + --sysconfdir=/etc \ + --disable-manpages \ + --with-rootlibdir=/lib \ + --with-xz \ --with-zlib The meaning of the configure options: - --with-* + --with-xz, --with-zlib These options enable Kmod to handle compressed kernel modules. @@ -69,6 +70,14 @@ + + --with-rootlibdir=/lib + + This option ensures different library related files are placed + in the correct directories. + + + Compile the package: @@ -92,11 +101,6 @@ done ln -sv kmod /bin/lsmod - Make sure that all libraries are in the correct directory: - -mv -v /usr/lib/libkmod.so.* /lib -ln -svf ../../lib/$(readlink /usr/lib/libkmod.so) /usr/lib/libkmod.so - -- cgit v1.2.3-54-g00ecf