Changeset 5dcf5b3a


Ignore:
Timestamp:
Apr 26, 2014, 10:14:10 PM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
ad31767e
Parents:
9682e4d
Message:

Don't install find or psmisc binaries to /bin

Location:
BOOK
Files:
5 edited

Legend:

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

    r9682e4d r5dcf5b3a  
    5858
    5959<screen os="h"><userinput>make install</userinput></screen>
    60 
    61     <para os="i">The <command>find</command> program is used by Systemd. As <filename
    62     class="directory">/usr</filename> may not be available during the early
    63     stages of booting, the <command>find</command> binary needs to be on
    64     the root partition:</para>
    65 
    66 <screen os="j"><userinput>mv -v /usr/bin/find /bin</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>
    7260
    7361  </sect2>
  • BOOK/final-system/common/psmisc.xml

    r9682e4d r5dcf5b3a  
    2828    <para os="a">Prepare Psmisc for compilation:</para>
    2929
    30 <screen os="b"><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen>
     30<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
    3131
    32     <variablelist os="c">
    33       <title>The meaning of the configure option:</title>
     32    <para os="c">Compile the package:</para>
    3433
    35       <varlistentry>
    36         <term><parameter>--exec-prefix=""</parameter></term>
    37         <listitem>
    38           <para>This ensures that the Psmisc binaries will install into
    39           <filename class="directory">/bin</filename> instead of
    40           <filename class="directory">/usr/bin</filename>. This is the
    41           correct location according to the FHS, because some of the Psmisc
    42           binaries are used by Systemd.</para>
    43         </listitem>
    44       </varlistentry>
    45     </variablelist>
     34<screen os="d"><userinput>make</userinput></screen>
    4635
    47     <para os="d">Compile the package:</para>
     36    <para os="e">This package does not come with a test suite.</para>
    4837
    49 <screen os="e"><userinput>make</userinput></screen>
     38    <para os="f">Install the package:</para>
    5039
    51     <para os="f">This package does not come with a test suite.</para>
    52 
    53     <para os="g">Install the package:</para>
    54 
    55 <screen os="h"><userinput>make install</userinput></screen>
    56 
    57     <para os="i">There is no reason for the <command>pstree</command> and
    58     <command>pstree.x11</command> programs to reside in <filename
    59     class="directory">/bin</filename>. Therefore, move them to <filename
    60     class="directory">/usr/bin</filename>:</para>
    61 
    62 <screen os="j"><userinput>mv -v /bin/pstree* /usr/bin</userinput></screen>
     40<screen os="g"><userinput>make install</userinput></screen>
    6341
    6442  </sect2>
  • BOOK/final-system/multilib/findutils.xml

    r9682e4d r5dcf5b3a  
    6666    href="../common/findutils.xml"
    6767    xpointer="xpointer(//*[@os='h'])"/>
    68 
    69     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    70     href="../common/findutils.xml"
    71     xpointer="xpointer(//*[@os='i'])"/>
    72 
    73     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    74     href="../common/findutils.xml"
    75     xpointer="xpointer(//*[@os='j'])"/>
    76 
    77     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    78     href="../common/findutils.xml"
    79     xpointer="xpointer(//*[@os='k'])"/>
    80 
    81     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    82     href="../common/findutils.xml"
    83     xpointer="xpointer(//*[@os='l'])"/>
    8468
    8569  </sect2>
  • BOOK/final-system/multilib/psmisc.xml

    r9682e4d r5dcf5b3a  
    2626    xpointer="xpointer(//*[@os='a'])"/>
    2727
    28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    29    --exec-prefix=""</userinput></screen>
     28<screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen>
    3029
    3130    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    4948    xpointer="xpointer(//*[@os='g'])"/>
    5049
    51     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    52     href="../common/psmisc.xml"
    53     xpointer="xpointer(//*[@os='h'])"/>
    54 
    55     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    56     href="../common/psmisc.xml"
    57     xpointer="xpointer(//*[@os='i'])"/>
    58 
    59     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    60     href="../common/psmisc.xml"
    61     xpointer="xpointer(//*[@os='j'])"/>
    62 
    6350  </sect2>
    6451
  • BOOK/introduction/common/changelog.xml

    r9682e4d r5dcf5b3a  
    5555          inside the temporary boot environment.</para>
    5656        </listitem>
     57        <listitem>
     58          <para>[Chris] - Don't move binaries from Findutils or Psmisc to /bin,
     59          as they're no longer needed there.</para>
     60        </listitem>
    5761      </itemizedlist>
    5862    </listitem>
Note: See TracChangeset for help on using the changeset viewer.