nvr issues, yum distro-sync
skvidal at fedoraproject.org
Thu May 27 20:39:27 UTC 2010
On Thu, 2010-05-27 at 16:32 -0400, Matt McCutchen wrote:
> I think the word "release" is being misused there. In the mirror
> layout, "releases" refers to the originally released content without
> updates, but the distribution version stays constant across updates.
> In an ideal world, I would rename *-release to *-distribution and change
> the yum variable to $distver. But I can totally understand if that
> would cause more breakage (or mess by the time a backward compatibility
> layer is put in) than it's worth.
well the concept is not hardcoded to a package of a certain name.
you can set it in your yum.conf
distroverpkg The package used by yum to determine the "version"
of the distribution. This can be any installed package. Default
is ‘redhat-release’. You can see what provides this manually by
using: "yum whatprovides redhat-release".
And if you want to go all crazy-pants with $variables in yum. - newest
yums allow that:
As of 3.2.28, any file in /etc/yum/vars is turned into a variable named
after the filename (or overrides any of the above variables).
Note that no warnings/errors are given if the files are unreadable, so
creating files that only root can read may be confusing for users.
Also note that only the first line will be read and all new line char-
acters are removed, as a convenience. However, no other checking is
performed on the data. This means it is possible to have bad character
data in any value.
More information about the devel