diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2001-12-11 19:43:40 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2001-12-11 19:43:40 +0000 |
commit | 0bafc62c7cbb255f54d3e5248666da9aa74aaed4 (patch) | |
tree | 145af6680c862bc0a3b9dbbacb5bc79b057bc9aa /chapter06/chroot.xml | |
parent | 18b6058533db6e5d01e176dbf57d1fa1d1856b08 (diff) |
[Bug 229] explain why we cd before chroot to
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1373 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/chroot.xml')
-rw-r--r-- | chapter06/chroot.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml index ea2097f99..0cdee163c 100644 --- a/chapter06/chroot.xml +++ b/chapter06/chroot.xml @@ -19,6 +19,13 @@ 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>The reason we do <userinput>cd $LFS</userinput> before running the +<userinput>chroot</userinput> command is that older sh-utils packages +have a chroot program which doesn't do the cd by itself, therefore +meaning that we have to perform it manually. While this isn't an issue +with most modern distributions, it does no harm anyways and ensures that +the command works for everyone.</para> + <para>Now that we are inside a chroot'ed environment, we can continue to install all the basic system software. You have to make sure all the following commands in this and following chapters are run from within the |