diff options
-rw-r--r-- | chapter02/aboutlfs.xml | 2 | ||||
-rw-r--r-- | chapter03/creatingpart.xml | 4 | ||||
-rw-r--r-- | chapter04/chapter04.xml | 3 | ||||
-rw-r--r-- | chapter05/chapter05.xml | 7 | ||||
-rw-r--r-- | chapter05/setting-environment.xml | 4 |
5 files changed, 8 insertions, 12 deletions
diff --git a/chapter02/aboutlfs.xml b/chapter02/aboutlfs.xml index 211213858..438e908f0 100644 --- a/chapter02/aboutlfs.xml +++ b/chapter02/aboutlfs.xml @@ -6,7 +6,7 @@ variable LFS will be used frequently. $LFS must at all times be replaced with the directory where the partition that contains the LFS system is mounted. How to create and where to mount the partition will be explained in full detail in -Chapter 4. For the moment let's assume that the LFS partition is mounted on +Chapter 3. For the moment let's assume that the LFS partition is mounted on <filename>/mnt/lfs</filename>.</para> <para>When you are told to run a command like diff --git a/chapter03/creatingpart.xml b/chapter03/creatingpart.xml index e757082aa..d53ad7371 100644 --- a/chapter03/creatingpart.xml +++ b/chapter03/creatingpart.xml @@ -23,11 +23,11 @@ The swap partition for your LFS system can be the same one as for your host system, so you won't have to create another if your host system already uses a swap partition.</para> -<para>Start the <filename>cfdisk</filename> program with an argument naming +<para>Start the <userinput>cfdisk</userinput> program with an argument naming the hard disk upon which the new partition must be created -- for example <filename>/dev/hda</filename> for the primary IDE disk. Create a Linux native partition and a swap partition, if needed. Please refer to the man page of -<filename>cfdisk</filename> if you don't yet know how to use the program.</para> +<userinput>cfdisk</userinput> if you don't yet know how to use the program.</para> <para>Remember the designation of your new partition -- something like <filename>hda5</filename>. This book will refer to it as the LFS partition. diff --git a/chapter04/chapter04.xml b/chapter04/chapter04.xml index 30b21d297..d5f6ed279 100644 --- a/chapter04/chapter04.xml +++ b/chapter04/chapter04.xml @@ -97,10 +97,8 @@ Gawk (&gawk-version;) - &gawk-size;: GCC (&gcc-2953-version;) - &gcc-2953-size;: <ulink url="http://freshmeat.net/projects/gcc/"/> - GCC-core (&gcc-version;) - &gcc-core-size;: <ulink url="http://freshmeat.net/projects/gcc/"/> - GCC-g++ (&gcc-version;) - &gcc-gpp-size;: <ulink url="http://freshmeat.net/projects/gcc/"/> @@ -112,7 +110,6 @@ Gettext (&gettext-version;) - &gettext-size;: Glibc (&glibc-version;) - &glibc-size;: <ulink url="http://freshmeat.net/projects/glibc/"/> - Glibc-linuxthreads (&glibc-version;) - &glibc-threads-size;: <ulink url="http://freshmeat.net/projects/glibc/"/> diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml index 722ea9e25..1ce12a4a4 100644 --- a/chapter05/chapter05.xml +++ b/chapter05/chapter05.xml @@ -56,11 +56,10 @@ of binaries.</para> <userinput>--strip-unneeded</userinput> on the libraries -- they would be destroyed and you would have to build Glibc all over again.</para> -<para>To save another couple of megabytes, you can throw away the documentation -and some of the bigger unneeded programs:</para> +<para>To save another couple of megabytes, you can throw away all the +documentation:</para> -<para><screen><userinput>rm -rf /tools/{,share/}{doc,info,man} -rm /tools/bin/{addr2line,gprof,nm,size,strings,strip}</userinput></screen></para> +<para><screen><userinput>rm -rf /tools/{,share/}{doc,info,man}</userinput></screen></para> <para>You will now need to have at least 700 MB of free space on your LFS filesystem to be able to build and install Glibc in the next phase.</para> diff --git a/chapter05/setting-environment.xml b/chapter05/setting-environment.xml index a43e8d492..286cd2428 100644 --- a/chapter05/setting-environment.xml +++ b/chapter05/setting-environment.xml @@ -5,14 +5,14 @@ <para>While logged in as user <emphasis>lfs</emphasis>, issue the following commands to set up a good work environment:</para> -<para><screen><userinput>cat > ~/.bash_profile << "EOF" +<para><screen><userinput>cat > ~/.bash_profile << "EOF"</userinput> set +h umask 022 LFS=/mnt/lfs LC_ALL=POSIX PATH=/tools/bin:$PATH export LFS LC_ALL PATH -EOF +<userinput>EOF source ~/.bash_profile</userinput></screen></para> |