aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/findutils.xml
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2004-02-28 07:11:44 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2004-02-28 07:11:44 +0000
commit2a264e0bc257b93e5a78025aecb3e99836fe1953 (patch)
tree83ded5d281aa8a8eb944237f768b1d007f7c690b /chapter06/findutils.xml
parent31a5625f9fb62b32a7f7022c286b765f92857e78 (diff)
Make findutils FHS-compliant
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3264 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/findutils.xml')
-rw-r--r--chapter06/findutils.xml9
1 files changed, 4 insertions, 5 deletions
diff --git a/chapter06/findutils.xml b/chapter06/findutils.xml
index 85874e356..db2485a73 100644
--- a/chapter06/findutils.xml
+++ b/chapter06/findutils.xml
@@ -19,12 +19,11 @@ consulting a previously set up database.</para>
<para>Prepare Findutils for compilation:</para>
-<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate</userinput></screen>
+<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate \
+ --localstatedir=/var/lib/misc</userinput></screen>
-<para>The default location for the <emphasis>locate</emphasis> database is
-<filename>/usr/var</filename>. To make the location of this database
-FHS-compliant, add <emphasis>--localstatedir=/var/lib/misc</emphasis>
-to the above configure options.</para>
+<para>The localstatedir directive above changes the location of the locate
+database to be in /var/lib/misc, which is FHS-compliant.</para>
<para>Compile the package:</para>