From 8d557ad89d660aba47a9932e28cc1e65666da1fe Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 28 Mar 2021 15:11:25 +0000 Subject: file: secure the URL, add libseccomp as external dep, and move libmagic.so to /lib /bin/more links to libmagic.so (found on gimli and rivendell with a script) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/file.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chapter06') diff --git a/chapter06/file.xml b/chapter06/file.xml index dc6024177..b44a639be 100644 --- a/chapter06/file.xml +++ b/chapter06/file.xml @@ -90,6 +90,12 @@ popd make DESTDIR=$LFS install + Move a shared library into its final location in the LFS system, + and recreate the symlink for it: + +mv -v $LFS/usr/lib/libmagic.so.* $LFS/lib +ln -sfv ../../lib/$(readlink /usr/lib/libmagic.so) $LFS/usr/lib/libmagic.so + -- cgit v1.2.3-54-g00ecf