removed gzip command explanation

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1910 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2002-05-26 20:32:12 +00:00
parent f76d55ad08
commit 9ef92bb74c
6 changed files with 11 additions and 25 deletions

View File

@ -27,6 +27,14 @@
</para></listitem> </para></listitem>
<listitem><para>May 26th, 2002 [gerard]: Chapter 05 - Gawk &amp; Findutils:
simplified the installation by removing the libexecdir modifications. We
can live with a
<filename class="directory">$LFS/static/libexecdir</filename> being created.
The whole <filename class="directory">$LFS/static</filename> directory is
temporarily anyways, so we're not all that concerned with what it looks
like.</para></listitem>
<listitem><para>May 26th, 2002 [gerard]: Chapter 06 - Creating Directories: <listitem><para>May 26th, 2002 [gerard]: Chapter 06 - Creating Directories:
removed the <userinput>cd /</userinput> command and changed the two removed the <userinput>cd /</userinput> command and changed the two
<userinput>chmod</userinput> commands to use absolute paths <userinput>chmod</userinput> commands to use absolute paths

View File

@ -9,7 +9,7 @@ commands.</para>
<para><screen><userinput>patch -Np1 -i ../findutils-4.1.patch &amp;&amp; <para><screen><userinput>patch -Np1 -i ../findutils-4.1.patch &amp;&amp;
./configure --prefix=$LFS/static &amp;&amp; ./configure --prefix=$LFS/static &amp;&amp;
make libexecdir=$LFS/static/bin LDFLAGS=-static &amp;&amp; make LDFLAGS=-static &amp;&amp;
make libexecdir=$LFS/static/bin install</userinput></screen></para> make install</userinput></screen></para>
</sect2> </sect2>

View File

@ -13,11 +13,7 @@ class="directory">/usr/bin</filename> it'll run <userinput>rm -rf
<para>Install Gawk by running the following commands:</para> <para>Install Gawk by running the following commands:</para>
<para><screen><userinput>cp awklib/Makefile.in awklib/Makefile.in.backup &amp;&amp; <para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \
sed -e '/^datadir/s/awk/gawk/' \
-e '/^libexecdir/s%/awk%%' awklib/Makefile.in.backup \
&nbsp;&nbsp;&nbsp;&nbsp;&gt; awklib/Makefile.in &amp;&amp;
CPPFLAGS=-Dre_max_failures=re_max_failures2 \
./configure --prefix=$LFS/static --disable-nls \ ./configure --prefix=$LFS/static --disable-nls \
&nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=$LFS/static/bin &amp;&amp; &nbsp;&nbsp;&nbsp;&nbsp;--libexecdir=$LFS/static/bin &amp;&amp;
make LDFLAGS=-static &amp;&amp; make LDFLAGS=-static &amp;&amp;

View File

@ -1,16 +0,0 @@
<sect2>
<title>Command explanations</title>
<para><userinput>cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip $LFS/bin
&amp;&amp; rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip:</userinput> The reason
we don't simply use <quote>mv</quote> to move the files to the new location
is because gunzip is a hardlink to gzip. On older distributions you can't
move a hardlink to another partition (and it's very possible that $LFS and
$LFS/usr are separate partitions). With more recent distributions this
isn't a problem. If you run mv to move hardlinks across partitions it'll
just do a regular <quote>cp</quote> and discard the hardlink. But, we
can't assume that every host distribution has a new enough kernel and
fileutils that works this way.</para>
</sect2>

View File

@ -6,7 +6,6 @@
Estimated required disk space: &gzip-compsize-static;</screen> Estimated required disk space: &gzip-compsize-static;</screen>
&c5-gzip-inst; &c5-gzip-inst;
&c5-gzip-exp;
&aa-gzip-desc; &aa-gzip-desc;
&aa-gzip-dep; &aa-gzip-dep;

View File

@ -2,7 +2,6 @@
<!ENTITY c5-gzip SYSTEM "../chapter05/gzip.xml"> <!ENTITY c5-gzip SYSTEM "../chapter05/gzip.xml">
<!ENTITY c5-gzip-inst SYSTEM "../chapter05/gzip-inst.xml"> <!ENTITY c5-gzip-inst SYSTEM "../chapter05/gzip-inst.xml">
<!ENTITY c5-gzip-exp SYSTEM "../chapter05/gzip-exp.xml">
<!ENTITY c6-gzip SYSTEM "../chapter06/gzip.xml"> <!ENTITY c6-gzip SYSTEM "../chapter06/gzip.xml">
<!ENTITY c6-gzip-inst SYSTEM "../chapter06/gzip-inst.xml"> <!ENTITY c6-gzip-inst SYSTEM "../chapter06/gzip-inst.xml">