aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/createfiles.xml
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2017-11-09 05:48:55 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2017-11-09 05:48:55 +0000
commitf1e1fe657992d117b5565129e33d7f0a6956e45f (patch)
tree709eb329b797fbcf07de79e0b9a1ff2f1b32e366 /chapter06/createfiles.xml
parent3f60e0c7231bdd4d6decc44486b6e2547702e356 (diff)
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
Diffstat (limited to 'chapter06/createfiles.xml')
-rw-r--r--chapter06/createfiles.xml8
1 files changed, 8 insertions, 0 deletions
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</userinput></screen>
<variablelist>