add missing checksum portion for live

This commit is contained in:
Louis Abel 2022-08-05 18:14:24 -07:00
parent 77ba94cca1
commit a1734103bd
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -1995,3 +1995,11 @@ class LiveBuild:
with open(dest_path + '.CHECKSUM', "w+") as c: with open(dest_path + '.CHECKSUM', "w+") as c:
c.write(checksum) c.write(checksum)
c.close() c.close()
linksum = Shared.get_checksum(link_path, self.checksum, self.log)
if not linksum:
self.log.error(Color.FAIL + link_path + ' not found. Did we copy it?')
return
with open(link_path + '.CHECKSUM', "w+") as c:
c.write(linksum)
c.close()