Hey guess what? implantmd5 alters the iso, so sha1sum must be done after that.

This commit is contained in:
jkeating@reducto.boston.redhat.com 2007-01-30 10:26:48 -05:00 committed by Jesse Keating
parent 1c37d3ab64
commit cec173adfe
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,6 @@
* Tue Jan 30 2007 Jesse Keating <jkeating@redhat.com>
- implantmd5 _then_ sha1sum.
* Mon Jan 29 2007 Jesse Keating <jkeating@redhat.com>
- Update the comps file again from F7
- Fix the ppc boot flags

View File

@ -189,10 +189,11 @@ class Pungi:
isodir,
isoname,
os.path.join('%s-disc%s' % (self.topdir, disc))))
os.system('cd %s; sha1sum %s >> SHA1SUM' % (isodir, isoname))
# implant md5 for mediacheck on all but source arches
if not self.config.get('default', 'arch') == 'source':
os.system('/usr/lib/anaconda-runtime/implantisomd5 %s' % os.path.join(isodir, isoname))
# shove the sha1sum into a file
os.system('cd %s; sha1sum %s >> SHA1SUM' % (isodir, isoname))
# We've asked for more than one disc, and we're not srpms, so make a DVD image
if self.config.getint('default', 'discs') > 1 and not self.config.get('default', 'arch') == 'source':