From 5c776d41f54395103ab03b02adea9e3c1e89d812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Tue, 28 Mar 2023 12:10:47 +0200 Subject: [PATCH] Inform auto/build that we're using ubuntu-image. --- 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 d8427ab8..553a5314 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -481,7 +481,6 @@ case $IMAGEFORMAT in for snap in $EXTRA_SNAPS; do UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --extra-snaps $snap" done - echo "IMAGEFORMAT=$IMAGEFORMAT" >> config/common echo "UBUNTU_IMAGE_ARGS=\"$UBUNTU_IMAGE_ARGS\"" >> config/common # Store model assertion in top dir to get it picked up later as a build artifact env SNAPPY_STORE_NO_CDN=1 snap known --remote model series=16 model="$MODEL" brand-id=canonical > "$PREFIX".model-assertion @@ -504,6 +503,9 @@ case $IMAGEFORMAT in # Save the model name used for building, mostly for any model-specific hook execution echo "MODEL=$MODEL" >> config/common + # Inform auto/build that we're using ubuntu-image + echo "IMAGEFORMAT=$IMAGEFORMAT" >> config/common + # Fake finished configuration for lb build mkdir -p .build touch .build/config