diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-09-14 21:47:20 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-09-14 21:47:20 +0000 |
commit | 238527e1046df4a3af31d7699e3f4a5f2b345036 (patch) | |
tree | 682025566d85a64eb4bd1eb0aa26acd476114ff9 /chapter05 | |
parent | a84e1e2e2c38caefd0061bc56268b8dc7057dcdb (diff) |
Minor adjustments, mainly of markup. And dropping file removal from the 'stripping' phase -- the files are small.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2815 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/chapter05.xml | 7 | ||||
-rw-r--r-- | chapter05/setting-environment.xml | 4 |
2 files changed, 5 insertions, 6 deletions
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> |