aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/systemd.xml
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2018-09-30 01:14:36 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2018-09-30 01:14:36 +0000
commitcc09c074d6c216d901a7b497089cf0fbc97f0548 (patch)
tree2c102c42aba258c989cbf0e5af4dd2c907c38678 /chapter06/systemd.xml
parent6c672426f85596f90903645f78d510d52f2846a5 (diff)
Restore build of Util-Linux in chapter5 to avoid reciprocal dependency for Systemd.
Moved installation of Util-Linux and E2fsprogs after Procps to satisfy build order in the Systemd book. This has no effect on the SysV book. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11473 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/systemd.xml')
-rw-r--r--chapter06/systemd.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index e5d89b833..0db60770f 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -44,6 +44,13 @@
<screen><userinput remap="pre">ln -sf /tools/bin/true /usr/bin/xsltproc</userinput></screen>
+ <para>Because we have not yet installed the final version of Util-Linux,
+ create links to the libraries in the approprite location:</para>
+
+<screen><userinput remap="pre">for file in /tools/lib64/lib{blkid,mount,uuid}*; do
+ ln -sf $file /usr/lib/
+done</userinput></screen>
+
<para>Set up the man pages:</para>
<screen><userinput remap="pre">tar -xf ../systemd-man-pages-&systemd-version;.tar.xz</userinput></screen>
@@ -67,6 +74,7 @@
<screen><userinput remap="configure">mkdir -p build
cd build
+PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib64/pkgconfig" \
LANG=en_US.UTF-8 \
meson --prefix=/usr \
--sysconfdir=/etc \