Make sure the yum.conf file goes to the lorax temp directory.

This commit is contained in:
David Cantrell 2008-10-04 20:57:22 -10:00
parent eda4c740fa
commit fe8b541620

View File

@ -113,7 +113,7 @@ def writeYumConf(cachedir=None, repo=None, extrarepos=[], mirrorlist=[]):
if cachedir is None or repo is None:
return None
tmpdir = tempfile.gettempdir()
tmpdir = conf['tmpdir']
(fd, yumconf) = tempfile.mkstemp(prefix='yum.conf', dir=tmpdir)
f = os.fdopen(fd, 'w')