From f1e1fe657992d117b5565129e33d7f0a6956e45f Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Thu, 9 Nov 2017 05:48:55 +0000 Subject: Simplify linking for systemd and remove text references to /tools/include. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11326 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/createfiles.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chapter06/createfiles.xml') diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml index 23da2d1e3..1287b4efb 100644 --- a/chapter06/createfiles.xml +++ b/chapter06/createfiles.xml @@ -56,6 +56,14 @@ do ln -sv /tools/lib/lib$lib.so* /usr/lib sed 's/tools/usr/' /tools/lib/lib${lib}.la > /usr/lib/lib${lib}.la done +ln -svf /tools/include/blkid /usr/include +ln -svf /tools/include/libmount /usr/include +ln -svf /tools/include/uuid /usr/include +for pc in blkid mount uuid +do + sed 's@tools@usr@g' /tools/lib/pkgconfig/${pc}.pc \ + > /usr/lib/pkgconfig/${pc}.pc +done ln -sv bash /bin/sh -- cgit v1.2.3-54-g00ecf