|
@@ -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
|