From 70d675e5abf0ccc38eeba5b5fc31e72c1a39b2f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Thu, 13 Aug 2020 14:52:30 +0200 Subject: [PATCH] Apparently the lxd appliance needs to use a custom track, so hack it in. --- debian/changelog | 8 ++++++++ live-build/auto/config | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/debian/changelog b/debian/changelog index c544ea0e..e47f6f3f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +livecd-rootfs (2.525.47) UNRELEAED; urgency=medium + + * Apparently the lxd appliance needs to use a custom track (4.0) and since + model assertions do not accept track names in required-snaps, we need to do + this by hand during build. (LP: #1891505) + + -- Ɓukasz 'sil2100' Zemczak Wed, 12 Aug 2020 15:58:19 +0200 + livecd-rootfs (2.525.46) bionic; urgency=medium [ Cody Shepherd ] diff --git a/live-build/auto/config b/live-build/auto/config index 5534cc91..c3fb12c4 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -219,6 +219,10 @@ case $IMAGEFORMAT in [ -z "${SUBARCH:-}" ] \ && UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --image-size 3700M" ;; + # Some appliances need different snap tracks + lxd-core18*) + EXTRA_SNAPS="lxd=4.0" + ;; esac case $SUITE in xenial)