1234567891011121314151617181920 |
- <sect1 id="ch06-revisedchroot">
- <title>Revised chroot command</title>
- <?dbhtml filename="revisedchroot.html" dir="chapter06"?>
- <para>From now on when you exit the chroot environment and wish to re-enter
- it, you should run the following modified chroot command.</para>
- <para>Additionally, now that all software has been installed there is no
- need to use anything from the <filename
- class="directory">/tools</filename> directory anymore, so it may be deleted.
- However, since the Tcl, Expect, and DejaGnu packages only exist here, you
- may want to reinstall them after removing that directory.</para>
- <para><screen><userinput>chroot $LFS /usr/bin/env -i \
- HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
- PATH=/bin:/usr/bin:/sbin:/usr/sbin \
- /bin/bash --login</userinput></screen></para>
- </sect1>
|