SCIENTIFIC-LINUX-USERS Archives

March 2013

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Sat, 2 Mar 2013 19:48:55 +0900
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
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?

ATOM RSS1 RSS2