aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/chroot.xml4
-rw-r--r--chapter06/config-glibc.xml4
-rw-r--r--chapter06/glibc-exp.xml2
3 files changed, 5 insertions, 5 deletions
diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml
index 3ef49bd08..ea2097f99 100644
--- a/chapter06/chroot.xml
+++ b/chapter06/chroot.xml
@@ -13,8 +13,8 @@ actually /mnt/lfs but the shell doesn't know that).</para>
<para><screen>&c6-chrootcmd;</screen></para>
<para>The -i option will clear all environment variables for as long as you
-are in the chroot'ed environment and only the ROOT and TERM variables
-are reset. The TERM=$TERM construction will set the $TERM value inside
+are in the chroot'ed environment and only the HOME and TERM variables
+are set. The TERM=$TERM construction will set the TERM variable inside
chroot to the same value as outside chroot which is needed for programs
like vim and less to operate properly. If you need other variables
present, such as CFLAGS or CXXFLAGS, you need to set them again.</para>
diff --git a/chapter06/config-glibc.xml b/chapter06/config-glibc.xml
index ffff4ee12..804025337 100644
--- a/chapter06/config-glibc.xml
+++ b/chapter06/config-glibc.xml
@@ -1,9 +1,9 @@
<sect2><title>Configuring Glibc</title>
<para>We need to create the /etc/nsswitch.conf file. Although glibc should
-provide defaults when this file is missing or corrupt, it's defaults don't work
+provide defaults when this file is missing or corrupt, its defaults don't work
well with networking which will be dealt with in a later chapter. Also, our
-timezone needs to be setup.</para>
+timezone needs to be set up.</para>
<para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
following:</para>
diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml
index 121544cb0..80f51cd18 100644
--- a/chapter06/glibc-exp.xml
+++ b/chapter06/glibc-exp.xml
@@ -14,7 +14,7 @@ will have Glibc default to using /lib and /usr/lib which is fine).</para>
<para><userinput>sed 's%\$(PERL)%/usr/bin/perl%'
malloc/Makefile &gt; tmp~:</userinput> This sed command
searches through <filename>malloc/Makefile</filename> and
-converts all occurences of <filename>$(PERL)</filename> to
+converts all occurrences of <filename>$(PERL)</filename> to
<filename>/usr/bin/perl</filename>. The output is then written to the
file <filename>tmp~</filename>. This is done because Glibc can't
autodetect perl since it hasn't been installed yet.</para>