summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-11-25 12:07:08 +0100
committerMichał Górny <mgorny@gentoo.org>2017-11-25 12:07:08 +0100
commite27f4b27a90bd30bcb9ec98bde7a7da48490b65f (patch)
tree4a218a65c7f6ec29d5b83201b072bc85321bdab2 /utils
parent279658d0e729a1a5781205069ac5d25f29af959d (diff)
downloadgemato-e27f4b27a90bd30bcb9ec98bde7a7da48490b65f.tar.gz
Reduce Gentoo compression watermark to 128 bytes
Diffstat (limited to 'utils')
-rwxr-xr-xutils/gen_fast_manifest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gen_fast_manifest.py b/utils/gen_fast_manifest.py
index 8e4b244..319e89d 100755
--- a/utils/gen_fast_manifest.py
+++ b/utils/gen_fast_manifest.py
@@ -102,7 +102,7 @@ def gen_manifest(top_dir):
manifest_entries.sort()
manifest_data = b'\n'.join(manifest_entries) + b'\n'
- if len(manifest_data) > 4096 and not compat_mode:
+ if not compat_mode:
with gzip.GzipFile(os.path.join(top_dir, 'Manifest.gz'), 'wb',
filename='', mtime=0) as f:
f.write(manifest_data)