From 5113761cbb139a5f9ae1d8529c06db9f2f79d66a Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 27 Aug 2019 08:15:56 -0700 Subject: [PATCH] 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 --- createhdds.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/createhdds.py b/createhdds.py index 86b8189..b941a23 100755 --- a/createhdds.py +++ b/createhdds.py @@ -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