Browse Source

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
Pierre Labastie 5 years ago
parent
commit
3517f1535b
3 changed files with 25 additions and 4 deletions
  1. 10 0
      chapter01/changelog.xml
  2. 12 1
      chapter06/man-db.xml
  3. 3 3
      general-orig.ent

+ 10 - 0
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>

+ 12 - 1
chapter06/man-db.xml

@@ -42,7 +42,9 @@
 
     <para>准备安装 Man-DB:</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                     \
@@ -65,6 +67,15 @@
     <variablelist>
       <title>配置选项的含义:</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>

+ 3 - 3
general-orig.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">