aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/chroot.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/chroot.xml')
-rw-r--r--chapter06/chroot.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml
index 08d74ea53..238dc5381 100644
--- a/chapter06/chroot.xml
+++ b/chapter06/chroot.xml
@@ -17,10 +17,10 @@ populated with only the temporary tools:</para>
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
/tools/bin/bash --login +h</userinput></screen>
-<para>The <emphasis>-i</emphasis> option given to the
+<para>The <parameter>-i</parameter> option given to the
<command>env</command> command will clear all variables of the chroot
environment. After that, only the HOME, TERM, PS1 and PATH variables are
-set again. The TERM=$TERM construct will set the TERM variable inside chroot
+set again. The <parameter>TERM=$TERM</parameter> construct will set the TERM 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 you need other variables present, such as CFLAGS or CXXFLAGS,
@@ -36,17 +36,19 @@ the chroot command.</para>
last in the PATH. This means that a temporary tool will not be used any more
as soon as its final version is installed. Well, at least when the shell
doesn't remember the locations of executed binaries -- for this reason hashing
-is switched off by passing the <emphasis>+h</emphasis> option to
+is switched off by passing the <parameter>+h</parameter> option to
<command>bash</command>.</para>
<para>You have to make sure all the commands in the rest of this chapter and
in the following chapters are run from within the chroot environment.
If you ever leave this environment for any reason (rebooting for example),
-you must remember to first mount the proc and devpts file systems (discussed
+you must remember to first mount the <systemitem class="filesystem">proc</systemitem>
+and <systemitem class="filesystem">devpts</systemitem> file systems (discussed
in the previous section) <emphasis>and</emphasis> enter chroot again before
continuing with the installations.</para>
-<para>Note that the bash prompt will say <quote>I have no name!</quote> This is
+<para>Note that the <command>bash</command> prompt will say
+<computeroutput>I have no name!</computeroutput> This is
normal, as the <filename>/etc/passwd</filename> file has not been created yet.
</para>