mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-29 23:56:03 +01:00
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2988 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
28 lines
1.2 KiB
XML
28 lines
1.2 KiB
XML
<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>
|
|
|
|
<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>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. As this will also remove the temporary copies of Tcl, Expect and
|
|
DejaGnu, which were used for running the toolchain tests, you will need to
|
|
recompile and re-install them on your LFS system if you want to use these
|
|
programs later.</para>
|
|
|
|
<para>Also you may now want to move the contents of
|
|
<filename class="directory">/sources</filename> to
|
|
<filename class="directory">/usr/src/packages</filename> or something similar
|
|
(or simply delete them if you've burned them on a CD) and delete the
|
|
directory.</para>
|
|
|
|
</sect1>
|
|
|