From a886b9f4a96b1a9b7515d2d76fd397e3651cc938 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 14 Mar 2018 12:24:37 -0700 Subject: [PATCH] Handle aarch64 being secondary for releases < 28 Sigh, this mini-fedfind is so much fun. Signed-off-by: Adam Williamson --- createhdds.py | 2 ++ 1 file changed, 2 insertions(+) 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'