reset the arch to ppc64 when making lorax calls so that the iso will run everywhere
This commit is contained in:
parent
8d54c4be1b
commit
b7c6c80949
@ -923,6 +923,11 @@ class Pungi(pypungi.PungiBase):
|
|||||||
workdir = self.workdir
|
workdir = self.workdir
|
||||||
outputdir = self.topdir
|
outputdir = self.topdir
|
||||||
|
|
||||||
|
# on ppc64 we need to tell lorax to only use ppc64 packages so that the media will run on all 64 bit ppc boxes
|
||||||
|
if self.config.get('pungi', 'arch') == 'ppc64':
|
||||||
|
self.ayum.arch.setup_arch('ppc64')
|
||||||
|
self.ayum.compatarch = 'ppc64'
|
||||||
|
|
||||||
# run the command
|
# run the command
|
||||||
lorax = pylorax.Lorax()
|
lorax = pylorax.Lorax()
|
||||||
lorax.configure()
|
lorax.configure()
|
||||||
|
Loading…
Reference in New Issue
Block a user