From a976382d9a44ae8ca1fcb6288aadc3d2039bac62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Fri, 4 Dec 2020 12:34:40 +0100 Subject: [PATCH] Try building qcow2 images for appliances. --- debian/changelog | 6 ++++++ live-build/auto/build | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index 6a3fac32..47cc1014 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.525.49) UNRELEASED; urgency=medium + + * Create additional qcow2 images for ubuntu-appliances (LP: #1906805). + + -- Ɓukasz 'sil2100' Zemczak Fri, 04 Dec 2020 12:24:31 +0100 + livecd-rootfs (2.525.48) bionic; urgency=medium [ John Chittum ] diff --git a/live-build/auto/build b/live-build/auto/build index e1e18a37..734a4081 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -58,6 +58,10 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then 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 + case "${SUBARCH:-}" in appliance-*) + convert_to_qcow2 "$PREFIX".img "$PREFIX".qcow2 ;; + esac else # First we need to build the gadget tree make -C "config/$PREFIX-gadget" ARCH=$ARCH SERIES=$SUITE