mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 14:24:48 +00:00
chroot command now sets the $TERM variable properly
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@159 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
ca3fb0014f
commit
4af94fb7b2
@ -16,11 +16,17 @@ actually /mnt/lfs but the shell doesn't know that).
|
|||||||
<blockquote><literallayout>
|
<blockquote><literallayout>
|
||||||
|
|
||||||
<userinput>cd $LFS &&</userinput>
|
<userinput>cd $LFS &&</userinput>
|
||||||
<userinput>chroot $LFS /usr/bin/env -i HOME=/root /bin/bash
|
<userinput>chroot $LFS /usr/bin/env -i HOME=/root \
|
||||||
--login</userinput>
|
TERM=`echo $TERM` /bin/bash --login</userinput>
|
||||||
|
|
||||||
</literallayout></blockquote>
|
</literallayout></blockquote>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
The TERM=`echo $TERM` construction will set the $TERM value inside
|
||||||
|
chroot to the same value as outside chroot which is needed for programs
|
||||||
|
like vim and less to operate properly.
|
||||||
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Now that we are inside a chroot'ed environment, we can continue to
|
Now that we are inside a chroot'ed environment, we can continue to
|
||||||
install all the basic system software. Make sure you execute all the
|
install all the basic system software. Make sure you execute all the
|
||||||
|
Loading…
Reference in New Issue
Block a user