[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

who expands "$basearch/$releasever" ?



File pyanaconda/yuminstall.py contains a string literal:
    cachedir=/var/cache/yum/$basearch/$releasever
as part of the prototype for a yum.conf file.

What and where is the mechanism to turn this into (for example)
    cachedir=/var/cache/yum/x86_64/14

In some ways os.path.expandvars() would be a good candidate,
except I cannot find anything that puts "basearch=x86_64"
and "releasever=14" into the process environment.  Also,
there aren't many invocations of os.path.expandvars().

-- 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]