Changeset 204c846 for BOOK/final-system


Ignore:
Timestamp:
Feb 19, 2016, 8:38:40 PM (9 years ago)
Author:
Chris Staub <chris@…>
Branches:
sysvinit
Children:
f5a4dd3
Parents:
0b0775a
git-author:
Chris Staub <chris@…> (02/19/16 20:38:23)
git-committer:
Chris Staub <chris@…> (02/19/16 20:38:40)
Message:

Prevent bashbug from being installed to /bin

Location:
BOOK/final-system
Files:
2 edited

Legend:

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

    r0b0775a r204c846  
    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

    r0b0775a r204c846  
    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
Note: See TracChangeset for help on using the changeset viewer.