]> git.decadent.org.uk Git - dak.git/commitdiff
Always provide a checksum of uncompressed Contents files
authorNiels Thykier <niels@thykier.net>
Thu, 27 Aug 2015 06:33:04 +0000 (08:33 +0200)
committerNiels Thykier <niels@thykier.net>
Thu, 27 Aug 2015 06:33:04 +0000 (08:33 +0200)
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

index ba7976873c6ef0b853695450338ae56d92d13d57..3b95ae5341d3017cbfb801fef6aa3b7a2e58a7b1 100755 (executable)
@@ -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]