aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/chroot.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-05-22 23:31:21 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-05-22 23:31:21 +0000
commita65b85fa890df5a24787ebbda6f2af1afd7faca5 (patch)
tree9c88d6e727de63d5c4ae90646efef6a6d2dcc1f2 /chapter06/chroot.xml
parent48812b722e650513f7d2b4a6011fe350458b2848 (diff)
Added chrootcmd.xml and have bash-inst.xml, glibc-inst.xml, m4-inst.xml
and chroot.xml use that file git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@650 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/chroot.xml')
-rw-r--r--chapter06/chroot.xml7
1 files changed, 1 insertions, 6 deletions
diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml
index 906d71b48..17745173c 100644
--- a/chapter06/chroot.xml
+++ b/chapter06/chroot.xml
@@ -13,12 +13,7 @@ everything a user does will be restricted to the LFS partition (since / is
actually /mnt/lfs but the shell doesn't know that).
</para>
-<blockquote><literallayout>
- <userinput>cd $LFS &amp;&amp;</userinput>
- <userinput>chroot $LFS /usr/bin/env -i HOME=/root
- \</userinput>
- <userinput>&nbsp;&nbsp;&nbsp;TERM=$TERM /bin/bash --login</userinput>
-</literallayout></blockquote>
+&c6-chrootcmd;
<para>
The TERM=$TERM construction will set the $TERM value inside