From 74080580aa48a6c0d58e06087082984ac8733846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Mon, 27 Mar 2023 15:52:33 +0200 Subject: [PATCH] Alias ubuntu-cpc to ubuntu-server for ubuntu-image builds. --- live-build/auto/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/live-build/auto/config b/live-build/auto/config index f0cd0c94..50f51648 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -491,7 +491,9 @@ 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 cp image-definitions/$DEFINITION "$PREFIX".yaml