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,6 +40,7 @@ class LiveMediaPhase(PhaseBase):
|
|||||||
repo = shortcuts.force_list(image_conf.get('repo', []))
|
repo = shortcuts.force_list(image_conf.get('repo', []))
|
||||||
|
|
||||||
extras = shortcuts.force_list(image_conf.pop('repo_from', []))
|
extras = shortcuts.force_list(image_conf.pop('repo_from', []))
|
||||||
|
if not variant.is_empty:
|
||||||
extras.append(variant.uid)
|
extras.append(variant.uid)
|
||||||
|
|
||||||
for extra in extras:
|
for extra in extras:
|
||||||
|
Loading…
Reference in New Issue
Block a user