On 12/13/2013 06:56 PM, Bruce Dubbs wrote: > xinglp wrote: >> diff -Naurz BOOK.0/chapter06/kmod.xml BOOK/chapter06/kmod.xml >> --- BOOK.0/chapter06/kmod.xml >> +++ BOOK/chapter06/kmod.xml >> @@ -95,7 +95,9 @@ >> <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> >> +pushd /usr/lib/ >> +ln -svf ../../lib/libkmod.so.*.* libkmod.so >> +popd</userinput></screen> > > This could be a problem if the users is doing an upgrade in place and > libkmod.so.*.* matches more than one file. > > -- Bruce >
May I suggest using $(readlink ..) method for creating symlinks in procps-ng [1] and official method for creating symlinks for kmod [2]? [1] http://www.linuxfromscratch.org/blfs/view/svn/general/pcre.html (scroll down to install section) [2] http://www.linuxfromscratch.org/lfs/view/systemd/chapter06/kmod.html -- Note: My last name is not Krejzi. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
