diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-06-27 23:15:49 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-06-27 23:15:49 +0000 |
commit | 7743e1e9f066490245d7041f062f68b8f7a3c7e7 (patch) | |
tree | bbc6b0c6e8367a6d91851a29be8c000877f04ef7 /chapter06/chroot.xml | |
parent | 7aa6f9d1221a4d00ff9386f72d5a9414c869d2bc (diff) |
Added note that entering chroot will clear all env. vars
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@716 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/chroot.xml')
-rw-r--r-- | chapter06/chroot.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml index 42717e2ea..ca70820f8 100644 --- a/chapter06/chroot.xml +++ b/chapter06/chroot.xml @@ -18,9 +18,12 @@ actually /mnt/lfs but the shell doesn't know that). </literallayout></blockquote> <para> -The TERM=$TERM construction will set the $TERM value inside +The -i option will clear all environment variables for as long as you +are in the chroot'ed environment and only the ROOT and TERM variables +are rest. The TERM=$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. +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> |