Add image-build support

Signed-off-by: Lubos Kocman <lkocman@redhat.com>
This commit is contained in:
Lubos Kocman 2015-09-01 08:03:34 +00:00
parent 4fb20198db
commit 8e90a2a32a
6 changed files with 350 additions and 5 deletions

View file

@ -211,6 +211,7 @@ def run_compose(compose):
extrafiles_phase = pungi.phases.ExtraFilesPhase(compose, pkgset_phase)
createiso_phase = pungi.phases.CreateisoPhase(compose)
liveimages_phase = pungi.phases.LiveImagesPhase(compose)
image_build_phase = pungi.phases.ImageBuildPhase(compose)
test_phase = pungi.phases.TestPhase(compose)
# check if all config options are set
@ -279,9 +280,11 @@ def run_compose(compose):
# CREATEISO and LIVEIMAGES phases
createiso_phase.start()
liveimages_phase.start()
image_build_phase.start()
createiso_phase.stop()
liveimages_phase.stop()
image_build_phase.stop()
# merge checksum files
for variant in compose.get_variants(types=["variant", "layered-product"]):