mirror of
https://github.com/truenas/scale-build.git
synced 2026-05-08 17:20:21 +01:00
go back to sha1 for manifest files (#786)
This commit is contained in:
@@ -36,7 +36,8 @@ def build_manifest():
|
||||
for file in files:
|
||||
abspath = os.path.join(root, file)
|
||||
with open(abspath, 'rb') as f:
|
||||
checksums[os.path.relpath(abspath, UPDATE_DIR)] = hashlib.file_digest(f, 'sha256').hexdigest()
|
||||
# FIXME: before we release 25.04.0 proper, change this to sha256
|
||||
checksums[os.path.relpath(abspath, UPDATE_DIR)] = hashlib.file_digest(f, 'sha1').hexdigest()
|
||||
|
||||
with open(os.path.join(UPDATE_DIR, 'manifest.json'), "w") as f:
|
||||
f.write(json.dumps({
|
||||
|
||||
Reference in New Issue
Block a user