aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/systemd.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-01-21 18:49:14 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-01-21 18:49:14 +0000
commit053b2060bbedf5187f62affe9ed61961940e46fa (patch)
tree637b965b0f3fc96a59dd9f02c1eef3d07921bf2b /chapter06/systemd.xml
parentcb23c1a6ab0a3c279df1f453ef9585b062963ec4 (diff)
Moved util-linux final build to be after udev.
Fixed up e2fsprogs and udev to use the Chapter 5 build of util-linux. Changed umount instructions in Chapter 9 to be compatible with changes in mounting /run as a tmpfs. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10448 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/systemd.xml')
-rw-r--r--chapter06/systemd.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index ca1fa4b43..3af23cc38 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -53,7 +53,14 @@
<screen><userinput remap="pre">tar -xvf ../&udev-lfs;.tar.bz2</userinput></screen>
- <para>Compile the package:</para>
+ <para>Create two symbolic links to header files and set an
+ environment variable to properly use <xref linkend="ch-tools-util-linux"/>.</para>
+
+<screen><userinput remap="pre">ln -svf /tools/include/blkid /usr/include
+ln -svf /tools/include/uuid /usr/include
+export LD_LIBRARY_PATH=/tools/lib</userinput></screen>
+
+ <para>Install the package:</para>
<screen><userinput remap="make">make -f &udev-lfs;/Makefile.lfs</userinput></screen>
@@ -80,6 +87,12 @@
following script to work.</para>
<screen><userinput remap="install">bash &udev-lfs;/init-net-rules.sh</userinput></screen>
+
+ <para>Do some cleanup:</para>
+
+<screen><userinput remap="install">rm -fv /usr/include/{uuid,blkid}
+unset LD_LIBRARY_PATH</userinput></screen>
+
</sect2>
<sect2 id="contents-udev" role="content">