aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/man-db.xml
diff options
context:
space:
mode:
authorDouglas R. Reno <renodr@linuxfromscratch.org>2017-02-25 19:40:37 +0000
committerDouglas R. Reno <renodr@linuxfromscratch.org>2017-02-25 19:40:37 +0000
commit69d53d11d43544952148bf943adfad4624f51513 (patch)
treec51bbee8e2183bd2e876d766bd0f2b03e8b389de /chapter06/man-db.xml
parentbdd9c1fe51efb9f3bb23a2b4da11356eb805414d (diff)
Add option for sysv to disable tmpfiles.d installation, make the sed for tmpfiles.d fix systemd only
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11195 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/man-db.xml')
-rw-r--r--chapter06/man-db.xml16
1 files changed, 13 insertions, 3 deletions
diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml
index 644b6f8c7..dd2fb170d 100644
--- a/chapter06/man-db.xml
+++ b/chapter06/man-db.xml
@@ -43,7 +43,7 @@
<para>Prepare Man-DB for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr \
+<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \
--docdir=/usr/share/doc/man-db-&man-db-version; \
--sysconfdir=/etc \
--disable-setuid \
@@ -52,6 +52,16 @@
--with-vgrind=/usr/bin/vgrind \
--with-grap=/usr/bin/grap</userinput></screen>
+<screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr \
+ --docdir=/usr/share/doc/man-db-&man-db-version; \
+ --sysconfdir=/etc \
+ --disable-setuid \
+ --enable-cache-owner=bin \
+ --with-browser=/usr/bin/lynx \
+ --with-vgrind=/usr/bin/vgrind \
+ --with-grap=/usr/bin/grap \
+ --with-systemdtmpfilesdir=</userinput></screen>
+
<variablelist>
<title>The meaning of the configure options:</title>
@@ -100,9 +110,9 @@
<screen><userinput remap="install">make install</userinput></screen>
- <para>Remove a reference to a non-existent user:</para>
+ <para revision="systemd">Remove a reference to a non-existent user:</para>
-<screen><userinput remap="install">sed -i "s:man man:root root:g" /usr/lib/tmpfiles.d/man-db.conf</userinput></screen>
+<screen revision="systemd"><userinput remap="install">sed -i "s:man man:root root:g" /usr/lib/tmpfiles.d/man-db.conf</userinput></screen>
</sect2>