aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/kmod.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2013-12-13 20:04:46 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2013-12-13 20:04:46 +0000
commita326b1d77c3bb9f9f6368c4d0c0346e03aa76ff9 (patch)
treee103e167eb46edbce8db5a8390e80972b437e7a2 /chapter06/kmod.xml
parent9132fe499be0b137bc5494d39cb89390ea11f4ca (diff)
Fix kmod, procps-ng, zlib, readline, ncurses,
and xz methods of establishing correct symbolic links for libraries. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10391 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/kmod.xml')
-rw-r--r--chapter06/kmod.xml5
1 files changed, 1 insertions, 4 deletions
diff --git a/chapter06/kmod.xml b/chapter06/kmod.xml
index f87024868..0b84f5b3a 100644
--- a/chapter06/kmod.xml
+++ b/chapter06/kmod.xml
@@ -95,10 +95,7 @@ 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/libkmod.so.2.2.5 /usr/lib/libkmod.so</userinput></screen>
-
-<!-- Note to editors: When upgrading kmod, make sure the library version
- specified above has not changed -->
+ln -svf ../../lib/$(readlink /usr/lib/libkmod.so) /usr/lib/libkmod.so</userinput></screen>
</sect2>