Ignore:
Timestamp:
09/05/2004 01:22:23 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
6.0
Children:
9876d9e
Parents:
e097438
Message:

Tags corrections, Chapter 6.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/chroot.xml

    re097438 r752f4e5  
    2121<para>The <parameter>-i</parameter> option given to the
    2222<command>env</command> command will clear all variables of the chroot
    23 environment. After that, only the <emphasis>HOME</emphasis>,
    24 <emphasis>TERM</emphasis>, <emphasis>PS1</emphasis>, and
    25 <emphasis>PATH</emphasis> variables are set again. The
     23environment. After that, only the <envar>HOME</envar>,
     24<envar>TERM</envar>, <envar>PS1</envar>, and
     25<envar>PATH</envar> variables are set again. The
    2626<parameter>TERM=$TERM</parameter> construct will set the
    27 <emphasis>TERM</emphasis> variable inside chroot to the same value as
     27<envar>TERM</envar> variable inside chroot to the same value as
    2828outside chroot. This variable is needed for programs like
    2929<command>vim</command> and <command>less</command> to operate
    3030properly.  If other variables are needed, such as
    31 <emphasis>CFLAGS</emphasis> or <emphasis>CXXFLAGS</emphasis>, this is
     31<envar>CFLAGS</envar> or <envar>CXXFLAGS</envar>, this is
    3232a good place to set them again.</para>
    3333
    3434<para>From this point on, there is no need to use the
    35 <emphasis>LFS</emphasis> variable anymore, because all work will be
     35<envar>LFS</envar> variable anymore, because all work will be
    3636restricted to the LFS file system.  This is because the Bash shell is
    3737told that <filename class="directory">$LFS</filename> is now the root
    3838(<filename class="directory">/</filename>) directory.</para>
    3939
    40 <para>Notice that <filename class="directory">/tools/bin</filename> comes last in the PATH. This means that a
     40<para>Notice that <filename class="directory">/tools/bin</filename>
     41comes last in the <envar>PATH</envar>. This means that a
    4142temporary tool will not be used anymore as soon as its final version
    4243is installed. This occurs when the shell does not <quote>remember</quote> the
    4344locations of executed binaries&mdash;for this reason, hashing is switched
    44 off by passing the +h option to bash.</para>
     45off by passing the <parameter>+h</parameter> option to bash.</para>
    4546
    4647<para>It is important that all the commands throughout the remainder
Note: See TracChangeset for help on using the changeset viewer.