From 493b2f0717fa5941f680bc0703ba9dc541f5c090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Sun, 29 Oct 2023 22:26:37 +0200 Subject: [PATCH] Provide the model-assertion as well. --- live-build/auto/build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/live-build/auto/build b/live-build/auto/build index 33abb17d..60c347f9 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -126,6 +126,11 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then mv install-sources.yaml pc.img.xz autoinstall.yaml 99-custom-networking.cfg ../image-definitions/ cd ../ + # Also, since we care about the model assertion to be presented, + # let's provide the payload assertion here already. + mkdir -p output/ + cp config/ubuntu-core-desktop*.model-assertion output/ + echo "Image payload build completed, continuing" fi /snap/bin/ubuntu-image classic --verbose $UBUNTU_IMAGE_ARGS \