From 4deab75bbdf3243450a9d9768a1c675305f40ac3 Mon Sep 17 00:00:00 2001 From: Denis Silakov Date: Tue, 23 Oct 2018 14:57:14 +0300 Subject: [PATCH] Fix cooker archs --- abf.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/abf.py b/abf.py index e395693..7abb597 100755 --- a/abf.py +++ b/abf.py @@ -1395,8 +1395,11 @@ def build(return_ids=False): arches.append(a) else: try_arches = ['i586','i686','x86_64'] - if str(build_repositories[0]).find("openmandriva") >= 0 or str(build_repositories[0]).find("cooker") >= 0: - try_arches = ['i586','i686','x86_64','armv7hl','aarch64'] + if str(build_repositories[0]).find("openmandriva") >= 0 or str(build_repositories[0]).find("3.0") >= 0: + try_arches = ['i586','x86_64','armv7hnl','aarch64'] + + if str(build_repositories[0]).find("cooker") >= 0 or str(build_repositories[0]).find("4.0") >= 0: + try_arches = ['i686','x86_64','armv7hnl','aarch64','znver1'] for arch in try_arches: a = Arch.get_arch_by_name(models, arch)