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