aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--chapter01/changelog.xml10
-rw-r--r--chapter06/man-db.xml13
-rw-r--r--general.ent6
3 files changed, 25 insertions, 4 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index b2d8f5d14..57ffe083d 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -43,6 +43,16 @@
appropriate for the entry or if needed the entire day's listitem.
-->
+ <listitem revision="systemd">
+ <para>2019-05-11</para>
+ <itemizedlist>
+ <listitem>
+ <para>[pierre] - Fix a hardcoded path to /usr/bin/find in the
+ systemd unit of man-db.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
<listitem>
<para>2019-05-03</para>
<itemizedlist>
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>
diff --git a/general.ent b/general.ent
index d1995b768..4a38b7978 100644
--- a/general.ent
+++ b/general.ent
@@ -1,13 +1,13 @@
-<!ENTITY version "SVN-20190503">
+<!ENTITY version "SVN-20190511">
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
Change to x.y for release but not -rc releases -->
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
-<!ENTITY versiond "20190503-systemd">
+<!ENTITY versiond "20190511-systemd">
<!ENTITY short-versiond "systemd">
<!ENTITY generic-versiond "systemd">
-<!ENTITY releasedate "May 3, 2019">
+<!ENTITY releasedate "May 11, 2019">
<!ENTITY copyrightdate "1999-2019"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "8.5">