Ignore:
Timestamp:
05/03/2020 09:02:51 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
a715dec
Parents:
9d719e2
Message:

Make the new book

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 moved

Legend:

Unmodified
Added
Removed
  • chapter05/chroot.xml

    r9d719e2 refcb393  
    66]>
    77
    8 <sect1 id="ch-system-chroot">
     8<sect1 id="ch-tools-chroot">
    99  <?dbhtml filename="chroot.html"?>
    1010
    1111  <title>Entering the Chroot Environment</title>
    1212
    13   <para>It is time to enter the chroot environment to begin building and
    14   installing the final LFS system. As user <systemitem
     13  <para>Now that all the packages which depend on themselves for being built
     14  are on the system, it is time to enter the chroot environment to finish
     15  installing the remaining temporary tools. This environment will be in use
     16  also for installing the final system. As user <systemitem
    1517  class="username">root</systemitem>, run the following command to enter the
    1618  realm that is, at the moment, populated with only the temporary tools:</para>
    1719
    18 <screen role="nodump"><userinput>chroot "$LFS" /tools/bin/env -i \
     20<screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \
    1921    HOME=/root                  \
    2022    TERM="$TERM"                \
    2123    PS1='(lfs chroot) \u:\w\$ ' \
    22     PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
    23     /tools/bin/bash --login +h</userinput></screen>
     24    PATH=/bin:/usr/bin:/sbin:/usr/sbin \
     25    /bin/bash --login +h</userinput></screen>
    2426
    2527  <para>The <parameter>-i</parameter> option given to the <command>env</command>
     
    4042  (<filename class="directory">/</filename>) directory.</para>
    4143
    42   <para>Notice that <filename class="directory">/tools/bin</filename> comes last
    43   in the <envar>PATH</envar>. This means that a temporary tool will no longer be
     44  <para>Notice that <filename class="directory">/tools/bin</filename> is not
     45  anymore in the <envar>PATH</envar>. This means that a temporary tool will no longer be
    4446  used once its final version is installed. This occurs when the shell does not
    4547  <quote>remember</quote> the locations of executed binaries&mdash;for this
Note: See TracChangeset for help on using the changeset viewer.