From 2d37fb2fa98113241c048ab435ca53684ea99d1d Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 25 May 2012 09:31:01 -0500 Subject: [PATCH] do not run isohybrid on the source iso it doesnt work so well --- src/pypungi/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index 059b7481..83664346 100644 --- a/src/pypungi/__init__.py +++ b/src/pypungi/__init__.py @@ -1143,8 +1143,8 @@ 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"): + # Run isohybrid on the iso as long as its not the source iso + if os.path.exists("/usr/bin/isohybrid") and not self.config.get('pungi', 'arch') == 'source': pypungi.util._doRunCommand(isohybrid, self.logger) # implant md5 for mediacheck on all but source arches