r2025 - / branches/clfs-2.0/BOOK/final-system/common branches/clfs-2.0/BOOK/introduction/common

jim at linuxfromscratch.org jim at linuxfromscratch.org
Sun Jul 16 20:45:56 PDT 2006


Author: jim
Date: 2006-07-16 21:45:56 -0600 (Sun, 16 Jul 2006)
New Revision: 2025

Modified:
   /
   branches/clfs-2.0/BOOK/final-system/common/findutils.xml
   branches/clfs-2.0/BOOK/introduction/common/changelog.xml
Log:
 r4644 at server (orig r2146):  jciccone | 2006-07-16 18:22:51 -0700
 Added a sed command to fix updatedb



Property changes on: 
___________________________________________________________________
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:2145
   + b6734a72-470d-0410-b049-f317dca95413:/:2146

Modified: branches/clfs-2.0/BOOK/final-system/common/findutils.xml
===================================================================
--- branches/clfs-2.0/BOOK/final-system/common/findutils.xml	2006-07-17 03:45:47 UTC (rev 2024)
+++ branches/clfs-2.0/BOOK/final-system/common/findutils.xml	2006-07-17 03:45:56 UTC (rev 2025)
@@ -58,10 +58,18 @@
     <para os="h">Find from Findutils is used by some of the scripts
     in the CLFS-Bootscripts package. As <filename
     class="directory">/usr</filename> may not be available during the early
-    stages of booting, those binaries need to be on the root partition:</para>
+    stages of booting, the <command>find</command>  binary need to be on 
+    the root partition:</para>
 
 <screen os="i"><userinput>mv -v ${CLFS}/usr/bin/find ${CLFS}/bin/find</userinput></screen>
 
+    <para os="j">The <command>updatedb</command> script needs to be modified
+    to point to the new location for <command>find</command>:</para>
+
+<screen os="k"><userinput>cp ${CLFS}/usr/bin/updatedb{,.orig}
+sed 's at find:=${BINDIR}@find:=/bin@' /usr/bin/updatedb.orig > /usr/bin/updatedb
+rm /usr/bin/updatedb.orig</userinput></screen>
+
   </sect2>
 
   <sect2 id="contents-findutils" role="content">

Modified: branches/clfs-2.0/BOOK/introduction/common/changelog.xml
===================================================================
--- branches/clfs-2.0/BOOK/introduction/common/changelog.xml	2006-07-17 03:45:47 UTC (rev 2024)
+++ branches/clfs-2.0/BOOK/introduction/common/changelog.xml	2006-07-17 03:45:56 UTC (rev 2025)
@@ -40,7 +40,8 @@
       <para>June 16, 2006</para>
       <itemizedlist>
         <listitem>
-          <para>[name] - New changelog entry.</para>
+          <para>[jciccone] - Added a sed to fix updatedb due to the new
+          location of find.</para>
         </listitem>
         <listitem>
           <para>[jciccone] - Removed unneeded chown and chmod commands from




More information about the cross-lfs mailing list