[sysadmin-bin] increase max extra tarball data to 16KB



commit 01bf9a6565d6ad02eb91b79503259e2fa171c0e6
Author: Olav Vitters <olav vitters nl>
Date:   Sat Jan 25 16:51:05 2014 +0100

    increase max extra tarball data to 16KB
    
    discussion on IRC with walters regarding ostree tarball created on RHEL7

 ftpadmin |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ftpadmin b/ftpadmin
index fe9546c..1b98a1e 100755
--- a/ftpadmin
+++ b/ftpadmin
@@ -363,7 +363,7 @@ class TarInfo(BasicInfo):
                 errors['UNIQ_DIR'] = 'Files not in the correct directory (expected %s, found %s)' % 
(test_uniq_dir, uniq_dir)
 
             test_eof_data = (tar_end_of_file_pos - tar_end_of_data_pos)
-            MAX_EXTRA_DATA=10240
+            MAX_EXTRA_DATA=16384
             if test_eof_data > MAX_EXTRA_DATA:
                 errors['EXTRA_DATA'] = 'Too much uncompressed tarball data (expected max %s, found %s); use 
tar-ustar in AM_INIT_AUTOMAKE!' % (human_size(MAX_EXTRA_DATA), human_size(test_eof_data))
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]