switch to BSD style hashes for the iso checksums

This commit is contained in:
Dennis Gilmore 2015-02-28 00:38:18 -06:00
parent 0633eb29d3
commit 64b6c8065c

View File

@ -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)