From 59f12263eda9443f22f1021f2bd94acb45027a85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Thu, 6 Apr 2023 10:05:40 +0200 Subject: [PATCH] Some missing changes for image definition handling. --- live-build/auto/config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/live-build/auto/config b/live-build/auto/config index 272d940d..f5920fbc 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -508,9 +508,11 @@ case $IMAGEFORMAT in else # classic images - DEFINITION="$PROJECT-$MODEL.yaml" + IMAGE_PROJECT=$PROJECT + [ "$IMAGE_PROJECT" = "ubuntu-cpc" ] && IMAGE_PROJECT="ubuntu-server" + DEFINITION="$IMAGE_PROJECT-$MODEL.yaml" - git clone git://git.launchpad.net/ubuntu-images -b $SERIES image-definitions + git clone git://git.launchpad.net/ubuntu-images -b $SUITE image-definitions cp image-definitions/$DEFINITION "$PREFIX".yaml echo "Configured ubuntu-image for the following image-definition:" cat "$PREFIX".yaml