From 2a264e0bc257b93e5a78025aecb3e99836fe1953 Mon Sep 17 00:00:00 2001 From: Jeremy Utley Date: Sat, 28 Feb 2004 07:11:44 +0000 Subject: [PATCH] Make findutils FHS-compliant git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3264 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 3 +++ chapter06/findutils.xml | 9 ++++----- index.xml | 4 ++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index f2bf40f93..850a72aba 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -34,6 +34,9 @@ first a summary, then a detailed log. +February 26th, 2004 [jeremy]: Altered the instructions for +Chapter 6 findutils to be FHS-Compliant + February 26th, 2004 [jeremy]: Removed the creation of the /usr/etc directory to conform with FHS - closes bug 775 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: diff --git a/index.xml b/index.xml index 79ddb9289..bb32afebb 100644 --- a/index.xml +++ b/index.xml @@ -2,8 +2,8 @@ - + +