Ignore:
Timestamp:
Feb 21, 2006, 1:27:06 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
307e31eb
Parents:
6bb43b3
Message:

r789@server (orig r787): jim | 2005-12-01 14:15:03 -0800

r853@server: jim | 2005-12-01 14:14:46 -0800
Text Updates


File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/settingenviron.xml

    r6bb43b3 rcedcdaa  
    1111  <title>Setting Up the Environment</title>
    1212
    13   <para>The new instance of the shell is a <emphasis>non-login</emphasis>
    14   shell, will read <filename>.bash_profile</filename> file. Create the
    15   <filename>.bash_profile</filename> file now:</para>
     13    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     14    href="../final-preps/settingenviron.xml"
     15    xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>cat &gt; ${LFS}/root/.bash_profile &lt;&lt; "EOF"
     17<screen os="b"><userinput>cat &gt; ${LFS}/root/.bash_profile &lt;&lt; "EOF"
    1818<literal>PS1='\u:\w\$ '
    1919LC_ALL=POSIX
     
    2222EOF</userinput></screen>
    2323
    24   <para>The <envar>LC_ALL</envar> variable controls the localization of
    25   certain programs, making their messages follow the conventions of a
    26   specified country. If the host system uses a version of Glibc older
    27   than 2.2.4, having <envar>LC_ALL</envar> set to something other than
    28   <quote>POSIX</quote> or <quote>C</quote> (during this chapter) may cause
    29   issues if you exit the chroot environment and wish to return later.
    30   Setting <envar>LC_ALL</envar> to <quote>POSIX</quote> or <quote>C</quote>
    31   (the two are equivalent) ensures that everything will work as expected
    32   in the chroot environment.</para>
     24    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     25    href="../final-preps/settingenviron.xml"
     26    xpointer="xpointer(//*[@os='h'])"/>
    3327
    34   <para>By putting <filename class="directory">/tools/bin</filename> ahead
     28  <para os="i">By putting <filename class="directory">/tools/bin</filename> ahead
    3529  of the standard <envar>PATH</envar>, all the programs installed in
    3630  <xref linkend="chapter-temporary-tools"/> are picked up by the shell
Note: See TracChangeset for help on using the changeset viewer.