mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-12-23 02:28:29 +00:00
Don't allow creation of i686 images for Fedora 31+
This just isn't possible any more, we no longer produce all the necessary bits to generate images for i686. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
74c28b5557
commit
8e6136ee20
@ -226,6 +226,11 @@ class VirtInstallImage(object):
|
|||||||
"intend to have %s workers you will need to run createhdds again on one "
|
"intend to have %s workers you will need to run createhdds again on one "
|
||||||
"of them to create their base images", self.arch, CPUARCH, self.arch)
|
"of them to create their base images", self.arch, CPUARCH, self.arch)
|
||||||
return
|
return
|
||||||
|
if self.arch in ('i386', 'i686'):
|
||||||
|
if str(self.release).lower() == 'rawhide' or int(self.release) > 30:
|
||||||
|
# we just don't support this any more, since F31
|
||||||
|
logger.warning("Cannot create i686 images for releases after Fedora 30!")
|
||||||
|
return
|
||||||
|
|
||||||
# figure out the best os-variant. NOTE: libosinfo >= 0.3.1
|
# figure out the best os-variant. NOTE: libosinfo >= 0.3.1
|
||||||
# properly returns 1 on failure, but using workaround for old
|
# properly returns 1 on failure, but using workaround for old
|
||||||
|
Loading…
Reference in New Issue
Block a user