From 0e35dfdb4698e388892e0ed5ef4222bb2c209f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Sat, 5 Dec 2020 01:10:12 +0100 Subject: [PATCH] We need to do it in a different order. --- live-build/auto/build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/live-build/auto/build b/live-build/auto/build index 734a4081..60f32dd4 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -56,12 +56,13 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then # we should be supporting more than one for models that # define those. mv output/*.img "$PREFIX".img - xz -0 -T4 "$PREFIX".img - mv output/seed.manifest "$PREFIX".manifest - # For appliance images we also need to generate qcow2 images + # For appliance images we also need to generate qcow2 images. case "${SUBARCH:-}" in appliance-*) convert_to_qcow2 "$PREFIX".img "$PREFIX".qcow2 ;; esac + # Now regular, compressed images. + xz -0 -T4 "$PREFIX".img + mv output/seed.manifest "$PREFIX".manifest else # First we need to build the gadget tree make -C "config/$PREFIX-gadget" ARCH=$ARCH SERIES=$SUITE