Changeset 8d55018


Ignore:
Timestamp:
Feb 19, 2016, 8:38:23 PM (8 years ago)
Author:
Chris Staub <chris@…>
Branches:
master, systemd
Children:
e3e2a37
Parents:
57fc8e7
Message:

Prevent bashbug from being installed to /bin

Location:
BOOK
Files:
3 edited

Legend:

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

    r57fc8e7 r8d55018  
    3434<screen os="b"><userinput>./configure \
    3535    --prefix=/usr \
    36     --bindir=/bin \
    3736    --without-bash-malloc \
    3837    --with-installed-readline \
     
    6564<screen os="h"><userinput>make install</userinput></screen>
    6665
    67     <para os="i">Run the newly compiled <command>bash</command> program (replacing
     66    <para os="i">Move the <command>bash</command> binary to
     67    <filename class="directory">/bin</filename>, overwriting the symlink
     68    that was previously created:</para>
     69
     70<screen os="j"><userinput>mv -v /usr/bin/bash /bin</userinput></screen>
     71
     72    <para os="k">Run the newly compiled <command>bash</command> program (replacing
    6873    the one that is currently being executed):</para>
    6974
    70 <screen os="j" role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen>
     75<screen os="l" role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen>
    7176
    72     <note os="k">
     77    <note os="m">
    7378      <para>The parameters used make the <command>bash</command>
    7479      process an interactive login shell and continue to disable hashing so
  • BOOK/final-system/multilib/bash.xml

    r57fc8e7 r8d55018  
    4242./configure \
    4343    --prefix=/usr \
    44     --bindir=/bin \
    4544    --without-bash-malloc \
    4645    --with-installed-readline \
     
    8786    xpointer="xpointer(//*[@os='k'])"/>
    8887
     88    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     89    href="../common/bash.xml"
     90    xpointer="xpointer(//*[@os='l'])"/>
     91
     92    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     93    href="../common/bash.xml"
     94    xpointer="xpointer(//*[@os='m'])"/>
     95
    8996  </sect2>
    9097
  • BOOK/introduction/common/changelog.xml

    r57fc8e7 r8d55018  
    5555          <ulink url="&clfs-ticket-root;1104">#1104.</ulink></para>
    5656        </listitem>
     57        <listitem>
     58          <para>[Chris] - Prevented the <command>bashbug</command> script
     59          from being installed in <filename class="directory">/bin</filename>,
     60          as it is not needed there. Fixes ticket
     61          <ulink url="&clfs-ticket-root;1099">#1099.</ulink></para>
     62        </listitem>
    5763      </itemizedlist>
    5864    </listitem>
Note: See TracChangeset for help on using the changeset viewer.