aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-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">