Changeset 2590473 for chapter07


Ignore:
Timestamp:
02/06/2022 04:45:15 AM (2 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
multilib
Children:
2195c1e
Parents:
3e09569 (diff), d759d8b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Automatic merge of trunk into multilib

Location:
chapter07
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter07/chroot.xml

    r3e09569 r2590473  
    2424    PS1='(lfs chroot) \u:\w\$ ' \
    2525    PATH=/usr/bin:/usr/sbin     \
    26     /bin/bash --login +h</userinput></screen>
     26    /bin/bash --login</userinput></screen>
    2727
    2828  <para>The <parameter>-i</parameter> option given to the <command>env</command>
     
    4545  <para>Notice that <filename class="directory">/tools/bin</filename> is not
    4646  in the <envar>PATH</envar>. This means that the cross toolchain will no longer be
    47   used in the chroot environment. This occurs when the shell does not
    48   <quote>remember</quote> the locations of executed binaries&mdash;for this
    49   reason, hashing is switched off by passing the <parameter>+h</parameter> option
    50   to <command>bash</command>.</para>
     47  used in the chroot environment.</para>
    5148
    5249  <para>Note that the <command>bash</command> prompt will say
  • chapter07/createfiles.xml

    r3e09569 r2590473  
    144144mail:x:34:
    145145kvm:x:61:
    146 systemd-bus-proxy:x:72:
    147146systemd-journal-gateway:x:73:
    148147systemd-journal-remote:x:74:
     
    185184  work:</para>
    186185
    187 <screen role="nodump"><userinput>exec /usr/bin/bash --login +h</userinput></screen>
    188 
    189   <para>Note the use of the <parameter>+h</parameter> directive. This tells
    190   <command>bash</command> not to use its internal path hashing. Without this
    191   directive, <command>bash</command> would remember the paths to binaries it has
    192   executed. To ensure the use of the newly compiled binaries as soon as they are
    193   installed, the <parameter>+h</parameter> directive will be used for the duration
    194   of this and the next chapter.</para>
     186<screen role="nodump"><userinput>exec /usr/bin/bash --login</userinput></screen>
    195187
    196188  <para>The <command>login</command>, <command>agetty</command>, and
Note: See TracChangeset for help on using the changeset viewer.