do not run isohybrid on the source iso it doesnt work so well

This commit is contained in:
Dennis Gilmore 2012-05-25 09:31:01 -05:00
parent 989462bf86
commit 2d37fb2fa9
1 changed files with 2 additions and 2 deletions

View File

@ -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