Ignore:
Timestamp:
Jul 16, 2006, 9:47:15 AM (18 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
bda4ad3
Parents:
ed0fac0
Message:

Added sed command to fix updatedb

File:
1 edited

Legend:

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

    red0fac0 r807f5e5  
    6161    in the CLFS-Bootscripts package. As <filename
    6262    class="directory">/usr</filename> may not be available during the early
    63     stages of booting, those binaries need to be on the root partition:</para>
     63    stages of booting, the <command>find</command> binary needs to be on
     64    the root partition:</para>
    6465
    6566<screen os="j"><userinput>mv -v /usr/bin/find /bin/find</userinput></screen>
     67
     68    <para os="k">The <command>updatedb</command> script needs to be modified
     69    to point to the new location for <command>find</command>:</para>
     70
     71<screen os="l"><userinput>sed -i 's@find:=${BINDIR}@find:=/bin@' /usr/bin/updatedb</userinput></screen>
    6672
    6773  </sect2>
Note: See TracChangeset for help on using the changeset viewer.