Ticket #3658: ch06-revisedchroot.patch
File ch06-revisedchroot.patch, 792 bytes (added by , 10 years ago) |
---|
-
chapter06/revisedchroot.xml
old new 12 12 13 13 <para>Finally, clean up some extra files left around from running tests:</para> 14 14 15 <screen ><userinput>rm -rf /tmp/*</userinput></screen>15 <screen role="nodump"><userinput>rm -rf /tmp/*</userinput></screen> 16 16 17 17 <para>From now on, when reentering the chroot environment after 18 18 exiting, use the following modified chroot command:</para> 19 19 20 <screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i \20 <screen><userinput>chroot "$LFS" /usr/bin/env -i \ 21 21 HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ 22 22 PATH=/bin:/usr/bin:/sbin:/usr/sbin \ 23 23 /bin/bash --login</userinput></screen>