From 5c0f191523d165d081d8e8998cd6ff8ae3214d6f Mon Sep 17 00:00:00 2001 From: Jim Gifford Date: Sun, 20 Mar 2005 04:58:47 +0000 Subject: [PATCH] Fixed: tar -S issue git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4788 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 2 ++ chapter03/patches.xml | 7 +++++++ chapter06/tar.xml | 5 +++++ 3 files changed, 14 insertions(+) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index b631b985d..90e886395 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -80,6 +80,8 @@ first a summary, then a detailed log. +March 19, 2005 [jim]: Added patch to fix issue with tar -S + March 19, 2005 [matt]: Removed references to kernel security patch diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 262bcbedc..5a7ef4f08 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -120,6 +120,13 @@ needed to build an LFS system: + +Tar Sparse Fix Patch - 1 KB: + + + + + Util-linux Cramfs Patch - 2kb: diff --git a/chapter06/tar.xml b/chapter06/tar.xml index a1da8c7f1..d21bd0c1a 100644 --- a/chapter06/tar.xml +++ b/chapter06/tar.xml @@ -28,6 +28,11 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed Installation of Tar +Tar has bug when the -S option is used with files over +4 GB. The following patch properly fixes that issue + +patch -Np1 -i ../tar-&tar-version;-sparse_fix-1.patch + Prepare Tar for compilation: ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin