[PATCH rhel5-branch] Install the right arch of anaconda's required packages (#541323).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Without this, we could end up pull in a pretty big list of i?86 packages on
an otherwise x86_64-only system.
---
 yuminstall.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 14c3334..b6b08f6 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1205,7 +1205,7 @@ class YumBackend(AnacondaBackend):
     def selectAnacondaNeeds(self):
         for pkg in ['authconfig', 'chkconfig', 'mkinitrd', 'rhpl',
                     'system-config-securitylevel-tui']:
-            self.selectPackage(pkg)
+            self.selectPackage("%s.%s" % (pkg, rpmUtils.arch.canonArch))
 
     def doPostSelection(self, anaconda):
         # Only solve dependencies on the way through the installer, not the way back.
-- 
1.7.1.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux