Fix DVD building on ppc64

ppc64 systems used to have arch == 'ppc', so pungi was only checking to
see if arch == 'ppc'. Now that ppc64 is separate from ppc, we need to
check if arch.startswith('ppc') instead.
This commit is contained in:
Will Woods 2011-10-20 15:38:24 -04:00 committed by Dennis Gilmore
parent 59ff9f9068
commit 0ff7275349
1 changed files with 1 additions and 1 deletions

View File

@ -1046,7 +1046,7 @@ class Pungi(pypungi.PungiBase):
extraargs.extend(efibootargs)
elif self.config.get('pungi', 'arch') == 'ia64':
extraargs.extend(ia64bootargs)
elif self.config.get('pungi', 'arch') == 'ppc':
elif self.config.get('pungi', 'arch').startswith('ppc'):
extraargs.extend(ppcbootargs)
extraargs.append(os.path.join(self.topdir, "ppc/mac"))
elif self.config.get('pungi', 'arch') == 'sparc':