add RPI and GenericArm fix

This commit is contained in:
Neil Hanlon 2023-05-17 16:40:56 -04:00
parent 669686777c
commit ebaaead520
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ ALLOWED_TYPE_VARIANTS = {
"GenericCloud": ["Base", "LVM"],
"Vagrant": ["Libvirt", "Vbox", "VMware"],
"OCP": ["Base"],
"RPI": None,
"RPI": ["Base"],
"GenericArm": ["Minimal"],
}

View File

@ -324,7 +324,7 @@ class ImageBuild:
def package(self) -> int:
# Some build types don't need to be packaged by imagefactory
# @TODO remove business logic if possible
if self.image_type in ["GenericCloud", "EC2", "Azure", "Vagrant", "OCP", "RPI"]:
if self.image_type in ["GenericCloud", "EC2", "Azure", "Vagrant", "OCP", "RPI", "GenericArm"]:
self.target_uuid = self.base_uuid if hasattr(self, 'base_uuid') else ""
if self.target_uuid: