From 450efb8bb5edc8c1053e763f5f1c59036f43e2a3 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 6 Mar 2018 09:06:58 -0800 Subject: [PATCH] Add aarch64 support and images We're bootstrapping aarch64 into openQA, so we need this. Signed-off-by: Adam Williamson --- createhdds.py | 3 +++ hdds.json | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/createhdds.py b/createhdds.py index 7a74089..eb2a84a 100755 --- a/createhdds.py +++ b/createhdds.py @@ -62,10 +62,13 @@ def supported_arches(): """ powerpc_arches = ['ppc64', 'ppc64le', 'noarch'] intel_arches = ['i686', 'x86_64', 'noarch'] + aarch64_arches = ['aarch64', 'armv7l'] if CPUARCH in powerpc_arches: supported_arches = powerpc_arches elif CPUARCH in intel_arches: supported_arches = intel_arches + elif CPUARCH == 'aarch64': + supported_arches = aarch64_arches else: supported_arches = [] logger.info("Need to add a list of supported arches for %s CPU", CPUARCH) diff --git a/hdds.json b/hdds.json index 0c16ef3..0566e9f 100644 --- a/hdds.json +++ b/hdds.json @@ -127,8 +127,8 @@ { "name" : "minimal", "releases" : { - "-1" : ["x86_64", "ppc64le", "ppc64"], - "-2" : ["x86_64", "ppc64le", "ppc64"] + "-1" : ["x86_64", "ppc64le", "ppc64", "aarch64"], + "-2" : ["x86_64", "ppc64le", "ppc64", "aarch64"] }, "size" : "6", "imgver": "2" @@ -155,8 +155,8 @@ { "name" : "server", "releases" : { - "stable" : ["x86_64", "ppc64le", "ppc64"], - "branched": ["x86_64", "ppc64le", "ppc64"] + "stable" : ["x86_64", "ppc64le", "ppc64", "aarch64"], + "branched": ["x86_64", "ppc64le", "ppc64", "aarch64"] }, "size" : "6", "imgver": "3", @@ -174,7 +174,7 @@ { "name" : "support", "releases" : { - "current" : ["x86_64", "ppc64le", "ppc64"] + "current" : ["x86_64", "ppc64le", "ppc64", "aarch64"] }, "size" : "6", "imgver" : "3"