mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-12-23 02:28:29 +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:
parent
450efb8bb5
commit
a886b9f4a9
@ -263,6 +263,8 @@ class VirtInstallImage(object):
|
|||||||
if arch in ['ppc64','ppc64le']:
|
if arch in ['ppc64','ppc64le']:
|
||||||
fedoradir = 'fedora-secondary'
|
fedoradir = 'fedora-secondary'
|
||||||
memsize = '4096'
|
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):
|
if arch == 'i386' and (str(self.release).lower() == 'rawhide' or int(self.release) > 25):
|
||||||
# from F26 onwards, i686 is in fedora-secondary
|
# from F26 onwards, i686 is in fedora-secondary
|
||||||
fedoradir = 'fedora-secondary'
|
fedoradir = 'fedora-secondary'
|
||||||
|
Loading…
Reference in New Issue
Block a user