diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2019-05-11 08:57:16 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2019-05-11 08:57:16 +0000 |
commit | cd2bd145defb52bc143d03794e81c04077450d89 (patch) | |
tree | a09b2a3ea8f36f08f06389dd3065008f23d42ccf /chapter06/man-db.xml | |
parent | 3dfd95eaf1a35bb46914863362a93f53e8261e58 (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/man-db.xml')
-rw-r--r-- | chapter06/man-db.xml | 13 |
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> |