123456789101112131415161718192021 |
- <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 longer
- a need for the <filename class="directory">/tools</filename> directory. You may
- delete it. This will also remove the temporary copies of Tcl, Expect and
- DejaGnu, which were used for running tests on the software as it was built. If
- you want to use these programs later, you will need to compile and install them
- on your new LFS system.</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>
|