Explorar o código

[Bug 174] Add FHS notes to findutils

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1346 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Mark Hymers %!s(int64=24) %!d(string=hai) anos
pai
achega
9ab8435289
Modificáronse 3 ficheiros con 18 adicións e 2 borrados
  1. 3 0
      chapter01/changelog.xml
  2. 13 0
      chapter06/findutils-inst.xml
  3. 2 2
      index.xml

+ 3 - 0
chapter01/changelog.xml

@@ -33,6 +33,9 @@
 
 </para></listitem>
 
+<listitem><para>November 26th, 2001 [markh]: Chapter 6:  Added FHS
+compliance notes to the findutils installation.</para></listitem>
+
 <listitem><para>November 19th, 2001 [markh]: Chapter 5+6: Updated to
 bash-2.05a, lilo-22.1, MAKEDEV-1.4, man-pages-1.43 and
 util-linux-2.11m.</para></listitem>

+ 13 - 0
chapter06/findutils-inst.xml

@@ -12,4 +12,17 @@ make &amp;&amp;
 make libexecdir=/usr/bin install</userinput></screen></para>
 
 </sect2>
+<sect2>
+<title>FHS compliance notes</title>
+
+<para>By default, the location of the updatedb database is in /usr/var.
+If you would rather be FHS compliant, you may wish to use another
+location.  The following commands use the database file 
+<filename>/var/lib/misc/locatedb</filename> which is FHS compliant.</para>
+
+<para><screen><userinput>patch -Np1 -i ../findutils-4.1.patch &amp;&amp;
+./configure --prefix=/usr &amp;&amp;
+make localstatedir=/var/lib/misc &amp;&amp;
+make localstatedir=/var/lib/misc libexecdir=/usr/bin install</userinput></screen></para>
 
+</sect2>

+ 2 - 2
index.xml

@@ -4,8 +4,8 @@
 
 <!ENTITY book SYSTEM "book/book.xml">
 
-<!ENTITY version "20011119">
-<!ENTITY releasedate "November 19th, 2001">
+<!ENTITY version "20011126">
+<!ENTITY releasedate "November 26th, 2001">
 
 <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
 <!ENTITY http-root "http://ftp.linuxfromscratch.org">