Make sure the yum.conf file goes to the lorax temp directory.
This commit is contained in:
parent
eda4c740fa
commit
fe8b541620
@ -113,7 +113,7 @@ def writeYumConf(cachedir=None, repo=None, extrarepos=[], mirrorlist=[]):
|
|||||||
if cachedir is None or repo is None:
|
if cachedir is None or repo is None:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
tmpdir = tempfile.gettempdir()
|
tmpdir = conf['tmpdir']
|
||||||
(fd, yumconf) = tempfile.mkstemp(prefix='yum.conf', dir=tmpdir)
|
(fd, yumconf) = tempfile.mkstemp(prefix='yum.conf', dir=tmpdir)
|
||||||
f = os.fdopen(fd, 'w')
|
f = os.fdopen(fd, 'w')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user