Hi All, I have been looking at the 'yum-ppc64-preferred.patch' in the RHEL6 yum package[1] lately, and I've been thinking about how to make this a bit more configurable. I've not done much python coding and even less yum coding, so I was hoping to get a few opinions on approaches to make this suitable to upstream (maybe).
My initial thought was a yum plugin, however given that the code in question is in the rpmUtils module and there are no slot points that I can see that would allow similar modifications, I don't think that will work. (Though I do see a FIXME in readMainConfig for basearch). The next idea was to make a new config option in the core yum code that would set the appropriate items and could be passed to the getBestArch and getBaseArch functions. I added a similar option to the Fedora mash tool, but it is specific to ppc64 (perfer_ppc64 is the name). Would something like that be suitable, or would the option need to be more generic so that it could work for sparc64 (or other arches) as well? Any direction would be appreciated. josh [1] http://mirrors.kernel.org/redhat/redhat/linux/enterprise/6Server/en/os/SRPMS/yum-3.2.27-14.el6_0.1.src.rpm _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
