aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/revisedchroot.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/revisedchroot.xml')
-rw-r--r--chapter06/revisedchroot.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/chapter06/revisedchroot.xml b/chapter06/revisedchroot.xml
index 7c7e6f0f3..6edd0e524 100644
--- a/chapter06/revisedchroot.xml
+++ b/chapter06/revisedchroot.xml
@@ -17,9 +17,10 @@
<para>From now on, when reentering the chroot environment after
exiting, use the following modified chroot command:</para>
-<screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \
- HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
- PATH=/bin:/usr/bin:/sbin:/usr/sbin \
+<screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \
+ HOME=/root TERM="$TERM" \
+ PS1='(lfs chroot) \u:\w\$ ' \
+ PATH=/bin:/usr/bin:/sbin:/usr/sbin \
/bin/bash --login</userinput></screen>
<para>The reason for this is that the programs in <filename