1
0
mirror of https://pagure.io/fedora-qa/createhdds.git synced 2024-11-25 08:13:07 +00:00

Add aarch64 support and images

We're bootstrapping aarch64 into openQA, so we need this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-03-06 09:06:58 -08:00
parent 498cc306f8
commit 450efb8bb5
2 changed files with 8 additions and 5 deletions

View File

@ -62,10 +62,13 @@ def supported_arches():
""" """
powerpc_arches = ['ppc64', 'ppc64le', 'noarch'] powerpc_arches = ['ppc64', 'ppc64le', 'noarch']
intel_arches = ['i686', 'x86_64', 'noarch'] intel_arches = ['i686', 'x86_64', 'noarch']
aarch64_arches = ['aarch64', 'armv7l']
if CPUARCH in powerpc_arches: if CPUARCH in powerpc_arches:
supported_arches = powerpc_arches supported_arches = powerpc_arches
elif CPUARCH in intel_arches: elif CPUARCH in intel_arches:
supported_arches = intel_arches supported_arches = intel_arches
elif CPUARCH == 'aarch64':
supported_arches = aarch64_arches
else: else:
supported_arches = [] supported_arches = []
logger.info("Need to add a list of supported arches for %s CPU", CPUARCH) logger.info("Need to add a list of supported arches for %s CPU", CPUARCH)

View File

@ -127,8 +127,8 @@
{ {
"name" : "minimal", "name" : "minimal",
"releases" : { "releases" : {
"-1" : ["x86_64", "ppc64le", "ppc64"], "-1" : ["x86_64", "ppc64le", "ppc64", "aarch64"],
"-2" : ["x86_64", "ppc64le", "ppc64"] "-2" : ["x86_64", "ppc64le", "ppc64", "aarch64"]
}, },
"size" : "6", "size" : "6",
"imgver": "2" "imgver": "2"
@ -155,8 +155,8 @@
{ {
"name" : "server", "name" : "server",
"releases" : { "releases" : {
"stable" : ["x86_64", "ppc64le", "ppc64"], "stable" : ["x86_64", "ppc64le", "ppc64", "aarch64"],
"branched": ["x86_64", "ppc64le", "ppc64"] "branched": ["x86_64", "ppc64le", "ppc64", "aarch64"]
}, },
"size" : "6", "size" : "6",
"imgver": "3", "imgver": "3",
@ -174,7 +174,7 @@
{ {
"name" : "support", "name" : "support",
"releases" : { "releases" : {
"current" : ["x86_64", "ppc64le", "ppc64"] "current" : ["x86_64", "ppc64le", "ppc64", "aarch64"]
}, },
"size" : "6", "size" : "6",
"imgver" : "3" "imgver" : "3"