[rhel5-branch][PATCH] Fix issue where arch detected incorrectly. (#908959)
Samantha N. Bueno
sbueno+anaconda at redhat.com
Tue May 21 14:06:52 UTC 2013
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.
--
1.7.11.7
More information about the anaconda-patches
mailing list