Bläddra i källkod

Fixed: tar -S issue

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4788 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jim Gifford 20 år sedan
förälder
incheckning
5c0f191523
3 ändrade filer med 14 tillägg och 0 borttagningar
  1. 2 0
      chapter01/changelog.xml
  2. 7 0
      chapter03/patches.xml
  3. 5 0
      chapter06/tar.xml

+ 2 - 0
chapter01/changelog.xml

@@ -80,6 +80,8 @@ first a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>March 19, 2005 [jim]: Added patch to fix issue with tar -S</para></listitem>
+
 <listitem><para>March 19, 2005 [matt]: Removed references to kernel security
 patch</para></listitem>
 

+ 7 - 0
chapter03/patches.xml

@@ -120,6 +120,13 @@ needed to build an LFS system:</para>
 </listitem>
 </varlistentry>
 
+<varlistentry>
+<term>Tar Sparse Fix Patch - 1 KB:</term>
+<listitem>
+<para><ulink url="&patches-root;tar-&tar-version;-sparse_fix-1.patch"/></para>
+</listitem>
+</varlistentry>
+
 <varlistentry>
 <term>Util-linux Cramfs Patch - 2kb:</term> <listitem>
 <para><ulink url="&patches-root;util-linux-&util-linux-version;-cramfs-1.patch"/></para>

+ 5 - 0
chapter06/tar.xml

@@ -28,6 +28,11 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
 <sect2 role="installation">
 <title>Installation of Tar</title>
 
+<para>Tar has bug when the -S option is used with files over
+4 GB. The following patch properly fixes that issue</para>
+
+<screen><userinput>patch -Np1 -i ../tar-&tar-version;-sparse_fix-1.patch</userinput></screen>
+
 <para>Prepare Tar for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>