aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/systemd.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-11-29 03:11:06 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-11-29 03:11:06 +0000
commitb7da138fa244c2d09b04ff95c369decba0c4a726 (patch)
treeb8623e3d987ef37bb731faafa3b8b0a3d34c01a9 /chapter06/systemd.xml
parent8999d9085236f9af809c263beb6f5a71982dab78 (diff)
Update makefile and instructions for systemd-196/udev-lfs-196-2.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10054 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/systemd.xml')
-rw-r--r--chapter06/systemd.xml17
1 files changed, 14 insertions, 3 deletions
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index 0cd7fb16c..5bfa5d6db 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -59,11 +59,22 @@
<para>Compile the package:</para>
-<screen><userinput remap="make">make -f udev-lfs-&systemd-version;/Makefile.lfs</userinput></screen>
+<screen><userinput remap="make">make -f &udev-lfs;/Makefile.lfs</userinput></screen>
<para>Install the package:</para>
-<screen><userinput remap="install">make -f udev-lfs-&systemd-version;/Makefile.lfs install</userinput></screen>
+<screen><userinput remap="install">make -f &udev-lfs;/Makefile.lfs install</userinput></screen>
+
+ <caution><para>There are several places within the
+ <application>systemd</application> source code that have explicit directory
+ paths embedded. For instance, the binary version of the hardware
+ database's path and file name used at run time,
+ <filename>/etc/udev/hwdb.bin</filename>, cannot be changed without explict
+ changes to the source code.</para></caution>
+
+ <para>Now initialize the hardware database:</para>
+
+<screen><userinput remap="install">build/udevadm hwdb --update</userinput></screen>
<para>Finally set up the persistent network udev rules. This task will be
explained in detail in <xref linkend='stable-net-names'/>. Note that the
@@ -72,7 +83,7 @@
chroot environment as explained at the beginning of this chapter for the
following script to work.</para>
-<screen><userinput remap="install">bash udev-lfs-&systemd-version;/init-net-rules.sh</userinput></screen>
+<screen><userinput remap="install">bash &udev-lfs;/init-net-rules.sh</userinput></screen>
</sect2>
<sect2 id="contents-udev" role="content">