Changeset a9e0b22


Ignore:
Timestamp:
09/05/2004 09:58:29 AM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
6.0
Children:
e097438
Parents:
3a49def
Message:

Started the proper use of <envar> tag.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4129 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter02/mounting.xml

    r3a49def ra9e0b22  
    1515to you.</para>
    1616
    17 <para>Choose a mount point and assign it to the LFS environment
    18 variable by running:</para>
     17<para>Choose a mount point and assign it to the <envar>LFS</envar>
     18environment variable by running:</para>
    1919
    2020<screen><userinput>export LFS=/mnt/lfs</userinput></screen>
  • chapter04/aboutlfs.xml

    r3a49def ra9e0b22  
    88<?dbhtml filename="aboutlfs.html"?>
    99
    10 <para>Throughout this book, the environment variable LFS will be used
    11 several times. It is paramount that this variable is always defined.
     10<para>Throughout this book, the environment variable <envar>LFS</envar> will
     11be used several times. It is paramount that this variable is always defined.
    1212It should be set to the mount point chosen for the LFS partition.
    13 Check that the LFS variable is set up properly with:</para>
     13Check that the <envar>LFS</envar> variable is set up properly with:</para>
    1414
    1515<screen><userinput>echo $LFS</userinput></screen>
     
    2828processes the command line.</para>
    2929
    30 <para>Do not forget to check that <quote>$LFS</quote> is set whenever
     30<para>Do not forget to check that <envar>$LFS</envar> is set whenever
    3131you leave and reenter the current working environment (as when doing a
    3232<quote>su</quote> to <emphasis>root</emphasis> or another user).</para>
  • chapter04/settingenviron.xml

    r3a49def ra9e0b22  
    2525<filename>.bash_profile</filename> file replaces the running shell
    2626with a new one with a completely empty environment, except for the
    27 <emphasis>HOME</emphasis>, <emphasis>TERM</emphasis>, and
    28 <emphasis>PS1</emphasis> variables. This ensures that no unwanted and
     27<envar>HOME</envar>, <envar>TERM</envar>, and
     28<envar>PS1</envar> variables. This ensures that no unwanted and
    2929potentially hazardous environment variables from the host system leak
    3030into the build environment. The technique used here achieves the goal
     
    4949<command>bash</command>'s hash function. Hashing is ordinarily a useful
    5050feature&mdash;<command>bash</command> uses a hash table to remember the
    51 full pathnames of executable files to avoid searching the PATH time
     51full pathnames of executable files to avoid searching the <envar>PATH</envar> time
    5252and again to find the same executable. However, the new tools
    5353should be used as soon as they are installed. By switching off the
    54 hash function, the shell will always search the PATH when a program is
     54hash function, the shell will always search the <envar>PATH</envar> when a program is
    5555to be run. As such, the shell will find the newly compiled
    5656tools in <filename class="directory">$LFS/tools</filename> as soon as
     
    6464644 and directories with mode 755).</para>
    6565
    66 <para>The <emphasis>LFS</emphasis> variable should be set to the
     66<para>The <envar>LFS</envar> variable should be set to the
    6767chosen mount point.</para>
    6868
    69 <para>The <emphasis>LC_ALL</emphasis> variable controls the
     69<para>The <envar>LC_ALL</envar> variable controls the
    7070localization of certain programs, making their messages follow the
    7171conventions of a specified country.  If the host system uses a version
    72 of Glibc older than 2.2.4, having LC_ALL set to something other than
     72of Glibc older than 2.2.4, having <envar>LC_ALL</envar> set to something other than
    7373<quote>POSIX</quote> or <quote>C</quote> (during this chapter) may
    7474cause issues if you exit the chroot environment and wish to return
    75 later. Setting <emphasis>LC_ALL</emphasis> to <quote>POSIX</quote>
     75later. Setting <envar>LC_ALL</envar> to <quote>POSIX</quote>
    7676or <quote>C</quote> (the two are equivalent) ensures that
    7777everything will work as expected in the chroot environment.</para>
    7878
    7979<para>By putting <filename class="directory">/tools/bin</filename>
    80 ahead of the standard PATH, all the programs installed in <xref
     80ahead of the standard <envar>PATH</envar>, all the programs installed in <xref
    8181linkend="chapter-temporary-tools"/> are picked up by the shell
    8282immediately after their installation. This, combined with turning off
Note: See TracChangeset for help on using the changeset viewer.