From a886b9f4a96b1a9b7515d2d76fd397e3651cc938 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mar 14 2018 19:24:37 +0000 Subject: Handle aarch64 being secondary for releases < 28 Sigh, this mini-fedfind is so much fun. Signed-off-by: Adam Williamson --- diff --git a/createhdds.py b/createhdds.py index eb2a84a..81a59ae 100755 --- a/createhdds.py +++ b/createhdds.py @@ -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'