aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/findutils.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/findutils.xml')
-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>