Changeset 72d4eec in clfs-sysroot for BOOK/final-system/common


Ignore:
Timestamp:
Jul 16, 2006, 6:22:51 PM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
77503af
Parents:
163e64e
Message:

Added a sed command to fix updatedb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/findutils.xml

    r163e64e r72d4eec  
    5959    in the CLFS-Bootscripts package. As <filename
    6060    class="directory">/usr</filename> may not be available during the early
    61     stages of booting, those binaries need to be on the root partition:</para>
     61    stages of booting, the <command>find</command>  binary need to be on
     62    the root partition:</para>
    6263
    6364<screen os="i"><userinput>mv -v ${CLFS}/usr/bin/find ${CLFS}/bin/find</userinput></screen>
     65
     66    <para os="j">The <command>updatedb</command> script needs to be modified
     67    to point to the new location for <command>find</command>:</para>
     68
     69<screen os="k"><userinput>cp ${CLFS}/usr/bin/updatedb{,.orig}
     70sed 's@find:=${BINDIR}@find:=/bin@' /usr/bin/updatedb.orig > /usr/bin/updatedb
     71rm /usr/bin/updatedb.orig</userinput></screen>
    6472
    6573  </sect2>
Note: See TracChangeset for help on using the changeset viewer.