Ignore:
Timestamp:
09/23/2022 07:08:34 PM (19 months ago)
Author:
David Bryant <davidbryant@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
81793c6e
Parents:
10d7c7a8
Message:

Clarify verbiage in chapter 2.6 (Setting the $LFS Variable).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter02/aboutlfs.xml

    r10d7c7a8 r50e70db  
    1515  throughout the LFS build process. It should be set to the name of the
    1616  directory where you will be building your LFS system - we will use
    17   <filename class="directory">/mnt/lfs</filename> as an example, but the
    18   directory choice is up to you. If you are building LFS on a separate
     17  <filename class="directory">/mnt/lfs</filename> as an example, but you may
     18  choose any directory name you want. If you are building LFS on a separate
    1919  partition, this directory will be the mount point for the partition.
    2020  Choose a directory location and set the variable with the
     
    2626  <command>mkdir -v $LFS/tools</command> can be typed literally. The shell
    2727  will automatically replace <quote>$LFS</quote> with
    28   <quote>/mnt/lfs</quote> (or whatever the variable was set to) when it
     28  <quote>/mnt/lfs</quote> (or whatever value the variable was set to) when it
    2929  processes the command line.</para>
    3030
     
    5050  enter the export command above.  In addition, the shell specified in the
    5151  <filename>/etc/passwd</filename> file for all users that need the
    52   <envar>LFS</envar> variable needs to be bash to ensure that the
     52  <envar>LFS</envar> variable must be bash to ensure that the
    5353  <filename>/root/.bash_profile</filename> file is incorporated as a part of
    5454  the login process.</para>
     
    6060  the <filename>.bashrc</filename> file for the user and
    6161  <systemitem class="username">root</systemitem>.  In addition,
    62   some distributions have instructions to not run the <filename>.bashrc</filename>
    63   instructions in a non-interactive bash invocation.  Be sure to add the
    64   export command before the test for non-interactive use.</para>
     62  some distributions use an "if" test, and do not run the remaining <filename>.bashrc</filename>
     63  instructions for a non-interactive bash invocation.  Be sure to place the
     64  export command ahead of the test for non-interactive use.</para>
    6565
    6666  </note>
Note: See TracChangeset for help on using the changeset viewer.