On 03/02/2013 04:49 PM, g wrote:
greetings.
i have recently in stalled sl6.3 from a 'livedvd on a stick' and all went
well.
in looking at the new /etc/yum.repos.d files, i see "$releasever" and
"$basearch".
how and where are these strings set?
yum sets its own environment when invoked. yum/__init__.py initializes
basearch from a listing in rpmUtils/arch.py. I think releasever is
pulled in by yum/config.py, but I don't remember where. If that doesn't
make much sense then I recommend not doing whatever you're thinking of
doing.
Are you trying to set your system up a special way or are you just curious?