From 2a264e0bc257b93e5a78025aecb3e99836fe1953 Mon Sep 17 00:00:00 2001 From: Jeremy Utley Date: Sat, 28 Feb 2004 07:11:44 +0000 Subject: Make findutils FHS-compliant git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3264 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/findutils.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'chapter06') 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. Prepare Findutils for compilation: -./configure --prefix=/usr --libexecdir=/usr/lib/locate +./configure --prefix=/usr --libexecdir=/usr/lib/locate \ + --localstatedir=/var/lib/misc -The default location for the locate database is -/usr/var. To make the location of this database -FHS-compliant, add --localstatedir=/var/lib/misc -to the above configure options. +The localstatedir directive above changes the location of the locate +database to be in /var/lib/misc, which is FHS-compliant. Compile the package: -- cgit v1.2.3-54-g00ecf