diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2013-12-07 22:36:41 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2013-12-07 22:36:41 +0000 |
commit | 4ea67ff8236c6298df59c27dde745fd7a51ddeb1 (patch) | |
tree | 61731d22ddbec4b1d2b2286216ac38aa3178481b /chapter06/kmod.xml | |
parent | 1d8c944f01fe8a8904075bb2a542ba0bbd799b54 (diff) |
Fix location of binaries and libraries for kmod and xz.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10382 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/kmod.xml')
-rw-r--r-- | chapter06/kmod.xml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/chapter06/kmod.xml b/chapter06/kmod.xml index c1bd05224..9c06ef64f 100644 --- a/chapter06/kmod.xml +++ b/chapter06/kmod.xml @@ -45,7 +45,6 @@ <screen><userinput remap="configure">./configure --prefix=/usr \ --bindir=/bin \ - --libdir=/lib \ --sysconfdir=/etc \ --disable-manpages \ --with-xz \ @@ -81,10 +80,11 @@ <screen><userinput remap="test">make check</userinput></screen> <para>Install the package, and create symlinks for compatibility with - Module-Init-Tools, the package that previously handled Linux kernel modules: + Module-Init-Tools, the package that previously handled Linux kernel modules. + Also make sure that all libraries are in the correct directory: </para> -<screen><userinput remap="install">make pkgconfigdir=/usr/lib/pkgconfig install +<screen><userinput remap="install">make install for target in depmod insmod modinfo modprobe rmmod; do ln -sv ../bin/kmod /sbin/$target @@ -92,6 +92,14 @@ 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/libkmod.so.2.2.4 /usr/lib/libkmod.so</userinput></screen> + +<!-- Note to editors: When upgrading kmod, make sure the library version + specified above has not changed --> + </sect2> <sect2 id="contents-kmod" role="content"> |