Always re-init the yum object (#717089)
This commit is contained in:
parent
7e65e60fc6
commit
d6490ebf6e
@ -817,7 +817,7 @@ class Pungi(pypungi.PungiBase):
|
|||||||
def doBuildinstall(self):
|
def doBuildinstall(self):
|
||||||
"""Run lorax on the tree."""
|
"""Run lorax on the tree."""
|
||||||
|
|
||||||
if not self.ayum:
|
# the old ayum object has transaction data that confuse lorax, reinit.
|
||||||
self._inityum()
|
self._inityum()
|
||||||
|
|
||||||
# Add the repo in the destdir to our yum object
|
# Add the repo in the destdir to our yum object
|
||||||
|
Loading…
Reference in New Issue
Block a user