Make sure we call the build "minimal" within the cloud build info,

when building a minimized image.
ubuntu/cosmic
Steve Langasek 7 years ago
commit 4bb0414a5d

8
debian/changelog vendored

@ -1,3 +1,11 @@
livecd-rootfs (2.516) UNRELEASED; urgency=medium
[ Chris Glass ]
* Make sure we call the build "minimal" within the cloud build info,
when building a minimized image.
-- Steve Langasek <steve.langasek@ubuntu.com> Tue, 27 Mar 2018 12:11:36 -0700
livecd-rootfs (2.515) bionic; urgency=medium livecd-rootfs (2.515) bionic; urgency=medium
* Set the default locale to C.UTF-8 in all server and cloud images. * Set the default locale to C.UTF-8 in all server and cloud images.

@ -419,8 +419,13 @@ deb file:/var/lib/preinstalled-pool/ $LB_DISTRIBUTION $LB_PARENT_ARCHIVE_AREAS
fi fi
fi fi
if [ "$PROJECT" = "ubuntu-cpc" ]; then if [ "$PROJECT" = "ubuntu-cpc" ]; then
if [ "${SUBPROJECT:-}" = minimized ]; then
BUILD_NAME=minimal
else
BUILD_NAME=server
fi
cat > chroot/etc/cloud/build.info << EOF cat > chroot/etc/cloud/build.info << EOF
build_name: server build_name: $BUILD_NAME
serial: $BUILDSTAMP serial: $BUILDSTAMP
EOF EOF
fi fi

Loading…
Cancel
Save