From fdf685fc5ee5bcb0b02a587eb199b32c8d9b68c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Wed, 31 May 2023 14:38:53 +0200 Subject: [PATCH] Be more verbose when using ubuntu-image, use the ubuntu-image stable snap. --- live-build/auto/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/live-build/auto/build b/live-build/auto/build index 9008abc7..7b9106a3 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -90,7 +90,7 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then # Use ubuntu-image instead of live-build export SNAPPY_STORE_NO_CDN=1 - snap install --classic --channel=candidate ubuntu-image + snap install --classic ubuntu-image # TODO: eventually, this should be handled by a single ubuntu-image # call without having to do a conditional on ubuntu-core/classic. @@ -106,7 +106,7 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then xz -0 -T4 "$PREFIX".img mv output/seed.manifest "$PREFIX".manifest else - ubuntu-image classic $UBUNTU_IMAGE_ARGS \ + ubuntu-image classic --verbose $UBUNTU_IMAGE_ARGS \ -O output "$PREFIX".yaml # Since the output of the ubuntu-image call can vary based on what # kind of an image we build, the safest bet is to 'export' all the