From cee312dde56b9f89959565fc1029f873c54a464e Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Tue, 28 Apr 2009 12:48:51 -0400 Subject: 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 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yuminstall.py') diff --git a/yuminstall.py b/yuminstall.py index d097eaa94..b16d7c616 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 -- cgit