From d6490ebf6e3c781e1a0beaef3c5d33f2ab1dd528 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Mon, 18 Jul 2011 15:11:19 -0700 Subject: [PATCH] Always re-init the yum object (#717089) --- src/pypungi/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index 0f4c1f3a..72759a36 100644 --- a/src/pypungi/__init__.py +++ b/src/pypungi/__init__.py @@ -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',