proper isohybrid support

This commit is contained in:
Tom "spot" Callaway 2011-05-26 11:01:43 -04:00 committed by Dennis Gilmore
parent 76c3cd9309
commit 7e65e60fc6

View File

@ -1077,6 +1077,10 @@ class Pungi(pypungi.PungiBase):
# run the command # run the command
pypungi.util._doRunCommand(mkisofs + extraargs, self.logger) pypungi.util._doRunCommand(mkisofs + extraargs, self.logger)
# Run isohybrid on the iso
if os.path.exists("/usr/bin/isohybrid"):
subprocess.call(["/usr/bin/isohybrid", isofile])
# implant md5 for mediacheck on all but source arches # implant md5 for mediacheck on all but source arches
if not self.config.get('pungi', 'arch') == 'source': if not self.config.get('pungi', 'arch') == 'source':
pypungi.util._doRunCommand(['/usr/bin/implantisomd5', isofile], self.logger) pypungi.util._doRunCommand(['/usr/bin/implantisomd5', isofile], self.logger)