Checksum source tarballs during bootstrap.

This commit is contained in:
Andrius Štikonas 2022-05-21 14:14:17 +01:00
parent ca4f141be0
commit 9d15314ebc
6 changed files with 57 additions and 49 deletions

View file

@ -48,7 +48,7 @@ class SysGeneral:
def check_file(self, file_name):
"""Check hash of downloaded source file."""
checksum_store = os.path.join(self.git_dir, 'SHA256SUMS.sources')
checksum_store = os.path.join(self.sys_dir, 'SHA256SUMS.sources')
with open(checksum_store, encoding="utf_8") as checksum_file:
hashes = checksum_file.read().splitlines()
for hash_line in hashes: