aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>