From dfefe9c1dbd493d5fd3cfbd40e593bafb1cecaf4 Mon Sep 17 00:00:00 2001 From: Tom "spot" Callaway Date: Thu, 26 May 2011 11:01:43 -0400 Subject: [PATCH] proper isohybrid support --- src/pypungi/__init__.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index 7cc7291..0f4c1f3 100644 --- a/src/pypungi/__init__.py +++ b/src/pypungi/__init__.py @@ -1077,6 +1077,10 @@ class Pungi(pypungi.PungiBase): # run the command 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 if not self.config.get('pungi', 'arch') == 'source': pypungi.util._doRunCommand(['/usr/bin/implantisomd5', isofile], self.logger) -- 1.7.5.1