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

[dak/master] Always provide a checksum of uncompressed Contents files



The new version of apt in experimental will insist on having the
checksum of the uncompressed Contents file, if it is to download the
Contents file.

Signed-off-by: Niels Thykier <niels@thykier.net>
---
 dak/generate_releases.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dak/generate_releases.py b/dak/generate_releases.py
index ba79768..3b95ae5 100755
--- a/dak/generate_releases.py
+++ b/dak/generate_releases.py
@@ -264,11 +264,6 @@ class ReleaseWriter(object):
             if filename in fileinfo.keys():
                 continue
 
-            # Skip uncompressed Contents files as they're huge, take ages to
-            # checksum and we checksum the compressed ones anyways
-            if os.path.basename(filename).startswith("Contents"):
-                continue
-
             fileinfo[filename] = {}
 
             # File handler is comp[0], filename of compressed file is comp[1]
-- 
2.1.4



Reply to: