Merge lp:~tribaal/livecd-rootfs/xenial-proposed-build-info-minimal

core-include-dmsetup
Steve Langasek 7 years ago
commit 6e65da4968

7
debian/changelog vendored

@ -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) <tribaal@ubuntu.com> 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

@ -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

Loading…
Cancel
Save