From 7e65e60fc654dee3411a406a6212e4672e115b6a 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 file changed, 4 insertions(+) diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index 7cc72911..0f4c1f3a 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)