diff options
Diffstat (limited to 'chapter06/chroot.xml')
-rw-r--r-- | chapter06/chroot.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml index e843c058e..25fc85295 100644 --- a/chapter06/chroot.xml +++ b/chapter06/chroot.xml @@ -16,12 +16,12 @@ example.</para> <para>Become <emphasis>root</emphasis> and run the following command to enter the chroot environment:</para> -<para><screen><userinput>chroot $LFS /tools/bin/env -i \ +<screen><userinput>chroot $LFS /tools/bin/env -i \ HOME=/root TERM=$TERM PS1='\u:\w\$ ' \ PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \ - /tools/bin/bash --login</userinput></screen></para> + /tools/bin/bash --login</userinput></screen> -<para><screen><userinput>set +h</userinput></screen></para> +<screen><userinput>set +h</userinput></screen> <para>The <userinput>-i</userinput> option given to the <userinput>env</userinput> command will clear all variables of the chroot |