From F31 onwards we have to build Workstation out of Everything

Conspiracy theory: everything releng does is intended to make
this code more awful

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-08-27 08:15:56 -07:00
parent 14c2af9332
commit 5113761cbb
1 changed files with 4 additions and 0 deletions

View File

@ -270,6 +270,10 @@ class VirtInstallImage(object):
fedoradir = 'fedora-secondary'
variant = self.variant
# From F31 onwards, Workstation tree is not installable and we
# build Workstation images out of Everything
if variant == 'Workstation' and self.release.isdigit() and int(self.release) > 30:
variant = 'Everything'
try:
# this is almost complex enough to need fedfind but not