* yuminstall.py (selectKernel): use python's "".startswith function to check for ppc64 arch. --- yuminstall.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/yuminstall.py b/yuminstall.py index ca973f0..1574bb5 100644 --- a/yuminstall.py +++ b/yuminstall.py @@ -1246,7 +1246,8 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon foundkernel = False - if (isys.smpAvailable() or isys.htavailable()) and rpmUtils.arch.canonArch != "ppc64": + if (isys.smpAvailable() or isys.htavailable()) \ + and not rpmUtils.arch.canonArch.startswith('ppc64'): if selectKernel("kernel-smp"): foundkernel = True -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list