aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/chroot.xml
diff options
context:
space:
mode:
authorDavid Bryant <davidbryant@gvtc.com>2022-11-16 13:15:01 -0600
committerDavid Bryant <davidbryant@gvtc.com>2022-11-16 13:16:35 -0600
commitebecd08c0582ef9c01f784452f87f3a39cf40cdd (patch)
tree7615ee9d0662f7edb512eea73976ba4a64806294 /chapter07/chroot.xml
parentf2dff2db69d54dd23f2532a24e8d5dc54076a3a6 (diff)
Corrected grammar, spelling, and idiom in chapter 7.
Diffstat (limited to 'chapter07/chroot.xml')
-rw-r--r--chapter07/chroot.xml24
1 files changed, 12 insertions, 12 deletions
diff --git a/chapter07/chroot.xml b/chapter07/chroot.xml
index 6404c0625..69bc6ce69 100644
--- a/chapter07/chroot.xml
+++ b/chapter07/chroot.xml
@@ -11,11 +11,11 @@
<title>Entering the Chroot Environment</title>
<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
+ needed tools are on the system, it is time to enter the chroot environment and
+ finish installing the temporary tools. This environment will also be
+ used to install the final system. As user <systemitem
class="username">root</systemitem>, run the following command to enter the
- environment that is, at the moment, populated with only the temporary
+ environment that is, at the moment, populated with nothing but temporary
tools:</para>
<screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \
@@ -26,25 +26,25 @@
/bin/bash --login</userinput></screen>
<para>The <parameter>-i</parameter> option given to the <command>env</command>
- command will clear all variables of the chroot environment. After that, only
+ command will clear all the variables in the chroot environment. After that, only
the <envar>HOME</envar>, <envar>TERM</envar>, <envar>PS1</envar>, and
<envar>PATH</envar> variables are set again. The
- <parameter>TERM=$TERM</parameter> construct will set the <envar>TERM</envar>
+ <parameter>TERM=$TERM</parameter> construct sets 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 desired, such as
+ needed so programs like <command>vim</command> and <command>less</command>
+ can 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>
+ them.</para>
<para>From this point on, there is no need to use the
- <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
+ <envar>LFS</envar> variable any more because all work will be restricted
+ to the LFS file system; the <command>chroot</command> command tells the Bash shell 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
in the <envar>PATH</envar>. This means that the cross toolchain will no longer be
- used in the chroot environment.</para>
+ used.</para>
<para>Note that the <command>bash</command> prompt will say
<computeroutput>I have no name!</computeroutput> This is normal because the