mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-10 21:35:24 +01:00
Checksum source tarballs during bootstrap.
This commit is contained in:
parent
ca4f141be0
commit
9d15314ebc
6 changed files with 57 additions and 49 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue