aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/chroot.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2020-06-11 03:13:43 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2020-06-11 03:13:43 +0000
commit387a32af4bff50363c15788cf25f10ed26cfabd3 (patch)
tree7874a54d1f87fdbb340547777019c59ce20c6f4a /chapter07/chroot.xml
parentbc8cca581fed74c60e201a89acb38cb2344c9b1b (diff)
Update initial Chapter 7 pages for cross2 branch
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11918 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/chroot.xml')
-rw-r--r--chapter07/chroot.xml19
1 files changed, 10 insertions, 9 deletions
diff --git a/chapter07/chroot.xml b/chapter07/chroot.xml
index 5b6310af7..c0cd4fc96 100644
--- a/chapter07/chroot.xml
+++ b/chapter07/chroot.xml
@@ -10,14 +10,15 @@
<title>Entering the Chroot Environment</title>
- <para>Now that all the packages which depend on themselves for being built
- are on the system, it is time to enter the chroot environment to finish
- installing the remaining temporary tools. This environment will be in use
- also for installing the final system. As user <systemitem
+ <para>Now that all the packages which are required to build the rest of the
+ needed tools are on the system, it is time to enter the chroot environment to
+ finish installing the remaining temporary tools. This environment will be in
+ use also for installing the final system. As user <systemitem
class="username">root</systemitem>, run the following command to enter the
- realm that is, at the moment, populated with only the temporary tools:</para>
+ environment that is, at the moment, populated with only the temporary
+ tools:</para>
-<screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \
+<screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \
HOME=/root \
TERM="$TERM" \
PS1='(lfs chroot) \u:\w\$ ' \
@@ -31,18 +32,18 @@
<parameter>TERM=$TERM</parameter> construct will set the <envar>TERM</envar>
variable inside chroot to the same value as outside chroot. This variable is
needed for programs like <command>vim</command> and <command>less</command>
- to operate properly. If other variables are needed, such as
+ to operate properly. If other variables are desired, such as
<envar>CFLAGS</envar> or <envar>CXXFLAGS</envar>, this is a good place to set
them again.</para>
<para>From this point on, there is no need to use the
- <envar>LFS</envar> variable anymore, because all work will be restricted
+ <envar>LFS</envar> variable anymore because all work will be restricted
to the LFS file system. This is because the Bash shell is told that
<filename class="directory">$LFS</filename> is now the root
(<filename class="directory">/</filename>) directory.</para>
<para>Notice that <filename class="directory">/tools/bin</filename> is not
- anymore in the <envar>PATH</envar>. This means that a temporary tool will no longer be
+ in the <envar>PATH</envar>. This means that a temporary tool will no longer be
used once its final version is installed. This occurs when the shell does not
<quote>remember</quote> the locations of executed binaries&mdash;for this
reason, hashing is switched off by passing the <parameter>+h</parameter> option