浏览代码

Change the method of supressing installation of /etc/systmed
in man-db.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11534 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Bruce Dubbs 6 年之前
父节点
当前提交
0066a92b4b
共有 1 个文件被更改,包括 12 次插入3 次删除
  1. 12 3
      chapter06/man-db.xml

+ 12 - 3
chapter06/man-db.xml

@@ -60,7 +60,8 @@
             --with-browser=/usr/bin/lynx         \
             --with-vgrind=/usr/bin/vgrind        \
             --with-grap=/usr/bin/grap            \
-            --with-systemdtmpfilesdir=</userinput></screen>
+            --with-systemdtmpfilesdir=           \
+            --with-systemdsystemunitdir=</userinput></screen>
 
     <variablelist>
       <title>The meaning of the configure options:</title>
@@ -96,6 +97,14 @@
         </listitem>
       </varlistentry>
 
+      <varlistentry revision="sysv">
+        <term><parameter>--with-systemd...</parameter></term>
+        <listitem>
+          <para>These parameters prevent installing unneeded systemd 
+          directories and files.</para>
+        </listitem>
+      </varlistentry>
+
     </variablelist>
 
     <para>Compile the package:</para>
@@ -109,12 +118,12 @@
     <para>Install the package:</para>
 
 <screen><userinput remap="install">make install</userinput></screen>
-
+<!--
     <para revision="sysv">Remove an unwanted directory used for service files
     which would cause some BLFS packages to also install files there: </para>
 
 <screen revision="sysv"><userinput remap="install">rm -rfv /lib/systemd</userinput></screen>
-<!--
+
     <para revision="systemd">Remove a reference to a non-existent user:</para>
 
 <screen revision="systemd"><userinput remap="install">sed -i "s:man man:root root:g" /usr/lib/tmpfiles.d/man-db.conf</userinput></screen>