diff options
-rw-r--r-- | chapter01/changelog.xml | 3 | ||||
-rw-r--r-- | chapter06/chroot.xml | 7 | ||||
-rw-r--r-- | index.xml | 4 |
3 files changed, 12 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 58515ebf7..5ec4c6a5d 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -6,6 +6,9 @@ <itemizedlist> +<listitem><para>December 11th, 2001 [markh]: Chapter 6: Add the "why we +cd $LFS before chroot" explanation.</para></listitem> + <listitem><para>December 10th, 2001 [markh]: Chapter 6: Add kbd patch for loadkeys -d behaviour (patch by Matthias Benkmann; originally posted to the lfs-dev list).</para></listitem> 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 @@ -4,8 +4,8 @@ <!ENTITY book SYSTEM "book/book.xml"> -<!ENTITY version "20011210"> -<!ENTITY releasedate "December 10th, 2001"> +<!ENTITY version "20011211"> +<!ENTITY releasedate "December 11th, 2001"> <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org"> <!ENTITY http-root "http://ftp.linuxfromscratch.org"> |