diff options
-rw-r--r-- | chapter04/chapter04.xml | 4 | ||||
-rw-r--r-- | chapter05/binutils-pass1.xml | 3 | ||||
-rw-r--r-- | chapter05/chapter05.xml | 10 | ||||
-rw-r--r-- | chapter05/glibc.xml | 3 | ||||
-rw-r--r-- | chapter05/perl.xml | 3 | ||||
-rw-r--r-- | chapter06/binutils.xml | 3 | ||||
-rw-r--r-- | chapter06/grep.xml | 3 | ||||
-rw-r--r-- | chapter06/mountproc.xml | 8 | ||||
-rw-r--r-- | chapter06/ncurses.xml | 3 |
9 files changed, 20 insertions, 20 deletions
diff --git a/chapter04/chapter04.xml b/chapter04/chapter04.xml index c5468c631..e70c99ea9 100644 --- a/chapter04/chapter04.xml +++ b/chapter04/chapter04.xml @@ -100,7 +100,7 @@ Ed (&ed-version;) - &ed-size;: Expect (&expect-version;) - &expect-size;: <ulink url="http://freshmeat.net/projects/expect/"/> -File (&file-version;) - &file-size;: -- <emphasis role="strong">(*) See Note 1 Below</emphasis> +File (&file-version;) - &file-size;: -- <emphasis role="strong">(see Note 1 below)</emphasis> <ulink url="http://freshmeat.net/projects/file/"/> Findutils (&findutils-version;) - &findutils-size;: @@ -127,7 +127,7 @@ GCC-testsuite (&gcc-version;) - &gcc-testsuite-size;: Gettext (&gettext-version;) - &gettext-size;: <ulink url="http://freshmeat.net/projects/gettext/"/> -Glibc (&glibc-version;) - &glibc-size;: -- <emphasis role="strong">(*) See Note 2 Below</emphasis> +Glibc (&glibc-version;) - &glibc-size;: -- <emphasis role="strong">(see Note 2 below)</emphasis> <ulink url="http://freshmeat.net/projects/glibc/"/> Grep (&grep-version;) - &grep-size;: diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index 953c65308..a98f498c4 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -36,8 +36,7 @@ achieve this easily, you could do something like: <para>Now prepare Binutils for compilation:</para> -<screen><userinput>../&binutils-dir;/configure \ - --prefix=/tools --disable-nls</userinput></screen> +<screen><userinput>../&binutils-dir;/configure --prefix=/tools --disable-nls</userinput></screen> <para>The meaning of the configure options:</para> diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml index 2371cb826..53139ae54 100644 --- a/chapter05/chapter05.xml +++ b/chapter05/chapter05.xml @@ -311,10 +311,9 @@ build the packages in this chapter as an unprivileged user. You could of course use your own user name, but to make it easier to set up a clean work environment we'll create a new user <emphasis>lfs</emphasis> and use this one during the installation process. As <emphasis>root</emphasis>, -issue the following commands to add the new user:</para> +issue the following command to add the new user:</para> -<screen><userinput>useradd -s /bin/bash -m -k /dev/null lfs -passwd lfs</userinput></screen> +<screen><userinput>useradd -s /bin/bash -m -k /dev/null lfs</userinput></screen> <para>The meaning of the switches:</para> @@ -328,6 +327,11 @@ directory for <emphasis>lfs</emphasis>, while preventing the files from a possible <filename>/etc/skel</filename> being copied into it.</para></listitem> </itemizedlist> +<para>If you want to be able to log in as <emphasis>lfs</emphasis>, then give +this new user a password:</para> + +<screen><userinput>passwd lfs</userinput></screen> + <para>Now grant this new user <emphasis>lfs</emphasis> full access to <filename class="directory">$LFS/tools</filename> by giving it ownership of the directory:</para> diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 8c59193ea..e8c2e8e91 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -32,8 +32,7 @@ cd ../glibc-build</userinput></screen> <screen><userinput>../&glibc-dir;/configure --prefix=/tools \ --disable-profile --enable-add-ons=linuxthreads \ - --with-headers=/tools/include \ - --with-binutils=/tools/bin \ + --with-binutils=/tools/bin --with-headers=/tools/include \ --without-gd --without-cvs</userinput></screen> <para>The meaning of the configure options:</para> diff --git a/chapter05/perl.xml b/chapter05/perl.xml index 0583d2f72..dccb191c0 100644 --- a/chapter05/perl.xml +++ b/chapter05/perl.xml @@ -17,7 +17,8 @@ <screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen> -<para>Now prepare Perl for compilation:</para> +<para>Now prepare Perl for compilation (make sure to get the 'IO Fcntl' +right, they are all letters):</para> <screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl'</userinput></screen> diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml index 2920f6f55..92c02a803 100644 --- a/chapter06/binutils.xml +++ b/chapter06/binutils.xml @@ -45,8 +45,7 @@ cd ../binutils-build</userinput></screen> <para>Now prepare Binutils for compilation:</para> -<screen><userinput>../&binutils-dir;/configure \ - --prefix=/usr --enable-shared</userinput></screen> +<screen><userinput>../&binutils-dir;/configure --prefix=/usr --enable-shared</userinput></screen> <para>Compile the package:</para> diff --git a/chapter06/grep.xml b/chapter06/grep.xml index 8d5f488d8..c7084cbd5 100644 --- a/chapter06/grep.xml +++ b/chapter06/grep.xml @@ -17,8 +17,7 @@ <para>Prepare Grep for compilation:</para> -<screen><userinput>./configure --prefix=/usr --bindir=/bin \ - --with-included-regex</userinput></screen> +<screen><userinput>./configure --prefix=/usr --bindir=/bin --with-included-regex</userinput></screen> <para>Compile the package:</para> diff --git a/chapter06/mountproc.xml b/chapter06/mountproc.xml index c0626b7f4..a60f76e10 100644 --- a/chapter06/mountproc.xml +++ b/chapter06/mountproc.xml @@ -4,10 +4,10 @@ <para>In order for certain programs to function properly, the <emphasis>proc</emphasis> and <emphasis>devpts</emphasis> file systems must be -available within the chroot environment. A file system can be mounted as many -times and in as many places as you like, thus it's not a problem that these -file systems are already mounted on your host system -- especially so because -they are virtual file systems.</para> +available within the chroot environment. Since kernel version 2.4 a file system +can be mounted as many times and in as many places as you like, thus it's not a +problem that these file systems are already mounted on your host system -- +especially so because they are virtual file systems.</para> <para>The <emphasis>proc</emphasis> file system is the process information pseudo file system through which the kernel provides information about the diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index 267fb5e30..da9dabe69 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -23,8 +23,7 @@ file:</para> <para>Now prepare Ncurses for compilation:</para> -<screen><userinput>./configure --prefix=/usr --with-shared \ - --without-debug</userinput></screen> +<screen><userinput>./configure --prefix=/usr --with-shared --without-debug</userinput></screen> <para>Compile the package:</para> |