Simplified chapter 05/bzip2+gzip commands

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2626 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2003-05-21 19:20:35 +00:00
parent b49bae191d
commit 0d95ff98b6
3 changed files with 9 additions and 14 deletions

View File

@ -78,6 +78,12 @@
</itemizedlist> </itemizedlist>
</para></listitem> </para></listitem>
<listitem><para>May 21st, 2003 [gerard]: Chapter 05 - Gzip: Simplified
commands.</para></listitem>
<listitem><para>May 21st, 2003 [gerard]: Chapter 05 - Bzip2: Simplified
commands.</para></listitem>
<listitem><para>May 21st, 2003 [gerard]: Chapter 06 - Shadow: Added the <listitem><para>May 21st, 2003 [gerard]: Chapter 06 - Shadow: Added the
<userinput>grpconv</userinput> command to complement the enabling of all <userinput>grpconv</userinput> command to complement the enabling of all
shadowed passwords.</para></listitem> shadowed passwords.</para></listitem>

View File

@ -8,16 +8,8 @@ for compilation. Instead we just run the <userinput>make</userinput>
program and start compiling, with a few variables changed to suit our program and start compiling, with a few variables changed to suit our
environment:</para> environment:</para>
<para><screen><userinput>make -f Makefile-libbz2_so <para><screen><userinput>make
make clean make PREFIX=/stage1 install</userinput></screen></para>
make
make PREFIX=/stage1 install
yes | cp bzip2-shared /stage1/bin/bzip2
ln -s libbz2.so.1.0 libbz2.so
cp -a libbz2.so* /stage1/lib
rm -f /stage1/bin/{bunzip2,bzcat}
ln -s bzip2 /stage1/bin/bunzip2
ln -s bzip2 /stage1/bin/bzcat</userinput></screen></para>
</sect2> </sect2>

View File

@ -5,10 +5,7 @@
<para><screen><userinput>./configure --prefix=/stage1 <para><screen><userinput>./configure --prefix=/stage1
make make
make install make install</userinput></screen></para>
rm -f /stage1/bin/{gunzip,zcat}
ln -s gzip /stage1/bin/gunzip
ln -s gzip /stage1/bin/zcat</userinput></screen></para>
</sect2> </sect2>