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

Drop a now-unneeded i686 blob and update a comment

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-04-22 12:39:17 -07:00
parent 90661e5d15
commit a49d6af706

View File

@ -512,15 +512,10 @@ def get_virtinstall_images(imggrp, nextrel=None, releases=None):
nextrel = fedfind.helpers.get_current_release() + 1 nextrel = fedfind.helpers.get_current_release() + 1
rels = [int(nextrel) + int(release)] rels = [int(nextrel) + int(release)]
else: else:
# assume a single integer release number # assume a single integer release number, or 'rawhide'
rels = [release] rels = [release]
for arch in arches: for arch in arches:
for rel in rels: for rel in rels:
# i686 images can't be created from f31 on; let's filter
# out all i686 images for f31 and later. Once f30 is EOL
# we can just ditch them from hdds.json and remove this
if arch == 'i686' and (rel == 'rawhide' or int(rel) > 30):
continue
key = "{0}-{1}".format(rel, arch) key = "{0}-{1}".format(rel, arch)
# using a dict here avoids dupes # using a dict here avoids dupes
imgs[key] = VirtInstallImage(name, rel, arch, variant=variant, size=size, imgs[key] = VirtInstallImage(name, rel, arch, variant=variant, size=size,