aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/man-db.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml
index a3b866ae9..5554d45d4 100644
--- a/chapter06/man-db.xml
+++ b/chapter06/man-db.xml
@@ -43,7 +43,9 @@
<para>Prepare Man-DB for compilation:</para>
-<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \
+<screen revision="systemd"><userinput remap="configure">sed -i '/find/s@/usr@@' init/systemd/man-db.service.in
+
+./configure --prefix=/usr \
--docdir=/usr/share/doc/man-db-&man-db-version; \
--sysconfdir=/etc \
--disable-setuid \
@@ -66,6 +68,15 @@
<variablelist>
<title>The meaning of the configure options:</title>
+ <varlistentry revision="systemd">
+ <term><command>sed -i '/find/s@/usr@@' init/systemd/man-db.service.in</command></term>
+ <listitem>
+ <para>This changes a harcoded path to the <command>find</command>
+ utility, which we install in
+ <filename class="directory">/bin</filename>.</para>
+ </listitem>
+ </varlistentry>
+
<varlistentry>
<term><parameter>--disable-setuid</parameter></term>
<listitem>