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

Handle aarch64 being secondary for releases < 28

Sigh, this mini-fedfind is so much fun.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-03-14 12:24:37 -07:00
parent 450efb8bb5
commit a886b9f4a9

View File

@ -263,6 +263,8 @@ class VirtInstallImage(object):
if arch in ['ppc64','ppc64le']:
fedoradir = 'fedora-secondary'
memsize = '4096'
if arch == 'aarch64' and str(self.release).isdigit() and int(self.release) < 28:
fedoradir = 'fedora-secondary'
if arch == 'i386' and (str(self.release).lower() == 'rawhide' or int(self.release) > 25):
# from F26 onwards, i686 is in fedora-secondary
fedoradir = 'fedora-secondary'