Red Hat Bugzilla – Bug 505410
RFE: Allow overriding releasever with a specific version in addition to a package
Last modified: 2014-01-21 18:09:48 EST
Description of problem:
It makes doing a yum update a little bit easier if I can say something like:
yum --releasever=11 update
and not have to manually tweak repo files or alternatively fetching a copy of fedora-release and trying to install that first.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Upstream this is easy to do, in code, now. And also upstream it's possible to have cachedir be releasever specific.
The biggest problem is getting something from the command line into yum before releasever is used (as a plugin you can't do it atm. because releasever is used before plugin arguments are parsed). In theory we can add it to core, but it seems like a pretty small edge case to add a core option for.
I think having cachedir be able to use $releasever/$basearch takes care of this problem.
I've made this the default in the yum.conf in rawhide/f12.