[rhel5-branch][PATCH] Fix issue where arch detected incorrectly. (#908959)
Vratislav Podzimek
vpodzime at redhat.com
Tue May 21 14:42:31 UTC 2013
On Tue, 2013-05-21 at 10:06 -0400, Samantha N. Bueno wrote:
> Incorrect arch values were causing yum to not find certain
> required packages.
> ---
> yuminstall.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/yuminstall.py b/yuminstall.py
> index 456afe5..979a3ff 100644
> --- a/yuminstall.py
> +++ b/yuminstall.py
> @@ -1265,7 +1265,7 @@ class YumBackend(AnacondaBackend):
> def selectAnacondaNeeds(self):
> for pkg in ['authconfig', 'chkconfig', 'mkinitrd', 'rhpl',
> 'system-config-securitylevel-tui']:
> - self.selectPackage("%s.%s" % (pkg, rpmUtils.arch.canonArch))
> + self.selectPackage("%s.%s" % (pkg, rpmUtils.arch.getBaseArch()))
>
> def doPostSelection(self, anaconda):
> # Only solve dependencies on the way through the installer, not the way back.
Looks good to me.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list