Re: [PATCH 1/1] Check to see if the arch string starts with ppc64. (#516144)

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

 



> 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

This looks fine to me.

- Chris

_______________________________________________
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