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

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

 



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

_______________________________________________
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