aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter06/findutils.xml6
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
@@ -39,6 +39,10 @@
<para>July 15, 2006</para>
<itemizedlist>
<listitem>
+ <para>[bdubbs] - Added sed to correct path to the find
+ program in updatedb after moving find to /bin.</para>
+ </listitem>
+ <listitem>
<para>[bdubbs] - Updated text concerning test failures in
glibc to describe the most recent results.</para>
</listitem>
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>