- Timestamp:
- Feb 21, 2006, 1:27:06 AM (19 years ago)
- Children:
- e0c8829
- Parents:
- f32f537
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/common/settingenviron.xml
rf32f537 r4a9cdca 11 11 <title>Setting Up the Environment</title> 12 12 13 <para>The new instance of the shell is a <emphasis>non-login</emphasis>14 shell, will read <filename>.bash_profile</filename> file. Create the15 <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'])"/> 16 16 17 <screen ><userinput>cat > ${LFS}/root/.bash_profile << "EOF"17 <screen os="b"><userinput>cat > ${LFS}/root/.bash_profile << "EOF" 18 18 <literal>PS1='\u:\w\$ ' 19 19 LC_ALL=POSIX … … 22 22 EOF</userinput></screen> 23 23 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'])"/> 33 27 34 <para >By putting <filename class="directory">/tools/bin</filename> ahead28 <para os="i">By putting <filename class="directory">/tools/bin</filename> ahead 35 29 of the standard <envar>PATH</envar>, all the programs installed in 36 30 <xref linkend="chapter-temporary-tools"/> are picked up by the shell
Note:
See TracChangeset
for help on using the changeset viewer.