aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2006-07-15 14:21:25 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2006-07-15 14:21:25 +0000
commit491d4629be51ade13808830f3b1e870c4ff9d414 (patch)
tree28a7f30798ce0041cbbe512310dd37a9f6651bfd /chapter06
parenta0ec8699f4ec2cbcbb582528e0307cb27f711b11 (diff)
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
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/findutils.xml6
1 files changed, 4 insertions, 2 deletions
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 @@
<para>Some of the scripts in the LFS-Bootscripts package depend on
<command>find</command>. As <filename class="directory">/usr</filename>
may not be available during the early stages of booting, this program
- needs to be on the root partition:</para>
+ needs to be on the root partition. The <command>updatedb</command>
+ script also needs to correct an explicit path.</para>
-<screen><userinput>mv -v /usr/bin/find /bin</userinput></screen>
+<screen><userinput>mv -v /usr/bin/find /bin</userinput>
+sed -i -e 's/find:=${BINDIR}/find:=\/bin/' /usr/bin/updatedb</screen>
</sect2>