aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2019-05-11 08:57:16 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2019-05-11 08:57:16 +0000
commitcd2bd145defb52bc143d03794e81c04077450d89 (patch)
treea09b2a3ea8f36f08f06389dd3065008f23d42ccf /chapter06
parent3dfd95eaf1a35bb46914863362a93f53e8261e58 (diff)
Fix a harcoded path in the man-db systemd unit
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11602 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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>