From 8f9f9944fe1323c03db67300729ed4faa67e10aa Mon Sep 17 00:00:00 2001 From: Will Woods Date: Tue, 19 Jul 2011 12:26:13 -0400 Subject: [PATCH] Use pungi's installroot rather than making our own (#722481) Apparently messing with the installroot causes some serious problems with yum, so.. don't do that. --- src/pylorax/__init__.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index b4c16408..3b9967a3 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -154,13 +154,8 @@ class Lorax(BaseLoraxClass): if not isinstance(ybo, yum.YumBase): logger.critical("no yum base object") sys.exit(1) - - # create an install root - self.inroot = joinpaths(ybo.conf.installroot, "installroot") - if not os.path.isdir(self.inroot): - os.makedirs(self.inroot) + self.inroot = ybo.conf.installroot logger.debug("using install root: {0}".format(self.inroot)) - ybo.conf.installroot = self.inroot logger.info("setting up build architecture") self.arch = ArchData(get_buildarch(ybo))