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: NNiels Thykier <niels@thykier.net>
上级 eec8a020
......@@ -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]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册