diff --git a/debian/changelog b/debian/changelog index c8f48a01..f8bc2756 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (2.408.29) UNRELEASED; urgency=medium + + * ubuntu-cpc: When performing a minimized build make sure the + /etc/cloud/build.info file says "minimal" (LP: #1759519) + + -- Christopher Glass (Ubuntu) Wed, 28 Mar 2018 12:08:48 +0200 + livecd-rootfs (2.408.28) xenial; urgency=medium * ubuntu-cpc: When performing a minimized build, don't generate artifacts diff --git a/live-build/auto/build b/live-build/auto/build index 12a0aac4..0f617b56 100755 --- a/live-build/auto/build +++ b/live-build/auto/build @@ -305,8 +305,13 @@ deb file:/var/lib/preinstalled-pool/ $LB_DISTRIBUTION $LB_PARENT_ARCHIVE_AREAS fi fi if [ "$PROJECT" = "ubuntu-cpc" ]; then + if [ "${SUBPROJECT:-}" = minimized ]; then + BUILD_NAME=minimal + else + BUILD_NAME=server + fi cat > chroot/etc/cloud/build.info << EOF -build_name: server +build_name: $BUILD_NAME serial: $BUILDSTAMP EOF fi