diff options
Diffstat (limited to 'chapter06/chroot.xml')
-rw-r--r-- | chapter06/chroot.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml index 1bf864b03..0c0dfbf95 100644 --- a/chapter06/chroot.xml +++ b/chapter06/chroot.xml @@ -13,10 +13,10 @@ actually /mnt/lfs but the shell doesn't know that).</para> <para><screen>&c6-chrootcmd;</screen></para> <para>The -i option will clear all environment variables for as long as you -are in the chroot'ed environment and only the HOME and TERM variables -are set. The TERM=$TERM construction will set the TERM variable inside -chroot to the same value as outside chroot which is needed for programs -like vim and less to operate properly. If you need other variables +are in the chroot'ed environment and only the HOME, TERM, PS1 and PATH +variables are set. The TERM=$TERM construction will set the TERM variable +inside chroot to the same value as outside chroot which is needed for +programs like vim and less to operate properly. If you need other variables present, such as CFLAGS or CXXFLAGS, you need to set them again.</para> <para>Now that we are inside a chroot'ed environment, we can continue to |