From cec173adfe08575227022225d2036af82e4e1084 Mon Sep 17 00:00:00 2001 From: "jkeating@reducto.boston.redhat.com" <> Date: Tue, 30 Jan 2007 10:26:48 -0500 Subject: [PATCH] Hey guess what? implantmd5 alters the iso, so sha1sum must be done after that. --- Changelog | 3 +++ pypungi/pungi.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 3c09bccd..9b249576 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,6 @@ +* Tue Jan 30 2007 Jesse Keating +- implantmd5 _then_ sha1sum. + * Mon Jan 29 2007 Jesse Keating - Update the comps file again from F7 - Fix the ppc boot flags diff --git a/pypungi/pungi.py b/pypungi/pungi.py index f425fc86..60059246 100755 --- a/pypungi/pungi.py +++ b/pypungi/pungi.py @@ -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':