switch to BSD style hashes for the iso checksums
This commit is contained in:
parent
0633eb29d3
commit
64b6c8065c
@ -1556,7 +1556,7 @@ class Pungi(PungiBase):
|
||||
self.logger.info("Generating checksum of %s" % path)
|
||||
checksum = pungi.util._doCheckSum(path, 'sha256', self.logger)
|
||||
if checksum:
|
||||
checkfile.write("%s *%s\n" % (checksum.replace('sha256:', ''), os.path.basename(path)))
|
||||
checkfile.write("SHA256 (%s) = %s\n" % (os.path.basename(path), checksum.replace('sha256:', '')))
|
||||
else:
|
||||
self.logger.error('Failed to generate checksum for %s' % checkfile)
|
||||
sys.exit(1)
|
||||
|
Loading…
Reference in New Issue
Block a user