aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/findutils-inst.xml
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-11-26 16:28:09 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-11-26 16:28:09 +0000
commit9ab84352895f8ff11da9529e505a8d81874964bb (patch)
treec6456a272bc190dd37b0675851676d682f78c857 /chapter06/findutils-inst.xml
parent082acf22567450d941bcf49875ad6aa6fa0a9520 (diff)
[Bug 174] Add FHS notes to findutils
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1346 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/findutils-inst.xml')
-rw-r--r--chapter06/findutils-inst.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/chapter06/findutils-inst.xml b/chapter06/findutils-inst.xml
index 8f2dba599..dafebd625 100644
--- a/chapter06/findutils-inst.xml
+++ b/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>