From 05a8be839fcc9ea3e21958029d18b7e584043b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Wed, 21 Nov 2018 21:07:16 +0100 Subject: [PATCH] Do the same for ubuntu-image snap builds. --- live-build/auto/build | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/live-build/auto/build b/live-build/auto/build index 03bb0f0f..410e3def 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -27,9 +27,13 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then CHANNEL="${CHANNEL:-edge}" env SNAPPY_STORE_NO_CDN=1 \ ubuntu-image snap -c "$CHANNEL" $UBUNTU_IMAGE_ARGS \ - -o "$PREFIX".img "$PREFIX".model-assertion + -O output "$PREFIX".model-assertion + # XXX: currently we only have one image generated, but really + # we should be supporting more than one for models that + # define those. + mv output/*.img "$PREFIX".img xz -0 -T4 "$PREFIX".img - mv seed.manifest "$PREFIX".manifest + mv output/seed.manifest "$PREFIX".manifest else # First we need to build the gadget tree make -C "config/$PREFIX-gadget"