summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-04-28 12:48:51 -0400
committerChris Lumens <clumens@redhat.com>2009-04-28 13:13:21 -0400
commitcee312dde56b9f89959565fc1029f873c54a464e (patch)
tree20d75be0a55101ffb6e5c82314591807f74b4f06 /yuminstall.py
parentc2e85de26e6e590c81d9c3bb9a2598128d2d9790 (diff)
downloadanaconda-cee312dde56b9f89959565fc1029f873c54a464e.tar.gz
anaconda-cee312dde56b9f89959565fc1029f873c54a464e.tar.xz
anaconda-cee312dde56b9f89959565fc1029f873c54a464e.zip
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.
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py2
1 files changed, 1 insertions, 1 deletions
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