From 491d4629be51ade13808830f3b1e870c4ff9d414 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 15 Jul 2006 14:21:25 +0000 Subject: Added sed to correct path to the find program in updatedb git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7674 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 4 ++++ chapter06/findutils.xml | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 12ce498bc..5f88dc18e 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -38,6 +38,10 @@ July 15, 2006 + + [bdubbs] - Added sed to correct path to the find + program in updatedb after moving find to /bin. + [bdubbs] - Updated text concerning test failures in glibc to describe the most recent results. diff --git a/chapter06/findutils.xml b/chapter06/findutils.xml index deff44988..d2a89174d 100644 --- a/chapter06/findutils.xml +++ b/chapter06/findutils.xml @@ -70,9 +70,11 @@ Some of the scripts in the LFS-Bootscripts package depend on find. As /usr may not be available during the early stages of booting, this program - needs to be on the root partition: + needs to be on the root partition. The updatedb + script also needs to correct an explicit path. -mv -v /usr/bin/find /bin +mv -v /usr/bin/find /bin +sed -i -e 's/find:=${BINDIR}/find:=\/bin/' /usr/bin/updatedb -- cgit v1.2.3-54-g00ecf