diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index a3bf1f810..6c9e8a76b 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -718,7 +718,9 @@ &external; - None + + Libseccomp + 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 + diff --git a/chapter08/file.xml b/chapter08/file.xml index eb9f41a2b..326f99eeb 100644 --- a/chapter08/file.xml +++ b/chapter08/file.xml @@ -57,6 +57,16 @@ make install + /bin/more from util-linux will link to + libmagic.so, so the shared + library should be moved to /lib, + and as a result the + .so file in + /usr/lib will need to be recreated: + +mv -v /usr/lib/libmagic.so.* /lib +ln -sfv ../../lib/$(readlink /usr/lib/libmagic.so) /usr/lib/libmagic.so + diff --git a/packages.ent b/packages.ent index 9f089c14e..fb615c162 100644 --- a/packages.ent +++ b/packages.ent @@ -181,7 +181,7 @@ - +