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

[PATCH] Fix the kernel package selection on ppc64 machines (#497264).



On SMP ppc64 machines, we need to install kernel.ppc64 instead of
kernel-smp.ppc.  There is no kernel-smp.ppc64 because that's provided by
kernel.ppc64, so skip looking for any kernel-smp package on ppc64.
---
 yuminstall.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index d097eaa..b16d7c6 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1261,7 +1261,7 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
 
         foundkernel = False
 
-        if isys.smpAvailable() or isys.htavailable():
+        if (isys.smpAvailable() or isys.htavailable()) and not rpmUtils.arch.canonArch.startswith("ppc64"):
             if selectKernel("kernel-smp"):
                 foundkernel = True
 
-- 
1.6.1.3


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