when a variant is empty do not add it to the repolist for livemedia
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
parent
37ac0d7bfe
commit
466a0eb24f
@ -40,7 +40,8 @@ class LiveMediaPhase(PhaseBase):
|
||||
repo = shortcuts.force_list(image_conf.get('repo', []))
|
||||
|
||||
extras = shortcuts.force_list(image_conf.pop('repo_from', []))
|
||||
extras.append(variant.uid)
|
||||
if not variant.is_empty:
|
||||
extras.append(variant.uid)
|
||||
|
||||
for extra in extras:
|
||||
v = self.compose.variants.get(extra)
|
||||
|
Loading…
Reference in New Issue
Block a user