Use a snap cohort key for consistent parallel builds (LP: #1866159)

ubuntu/xenial
Robert C Jennings 5 years ago
parent 1f4b996077
commit ace52c572b
No known key found for this signature in database
GPG Key ID: 740C3D9EEDF2ED73

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (2.408.57) xenial; urgency=medium
* Use a snap cohort key for consistent parallel builds (LP: #1866159)
-- Robert C Jennings <robert.jennings@canonical.com> Fri, 21 Feb 2020 21:32:37 -0600
livecd-rootfs (2.408.56) xenial; urgency=medium livecd-rootfs (2.408.56) xenial; urgency=medium
* Backport enabling of adding extra snaps to ubuntu-core images via the * Backport enabling of adding extra snaps to ubuntu-core images via the

@ -367,6 +367,7 @@ _snap_preseed() {
set -x; set -x;
cd /var/lib/snapd/seed; cd /var/lib/snapd/seed;
SNAPPY_STORE_NO_CDN=1 snap download \ SNAPPY_STORE_NO_CDN=1 snap download \
--cohort="${COHORT_KEY:-}" \
--channel=$CHANNEL \"$SNAP_NAME\"" || snap_download_failed=1 --channel=$CHANNEL \"$SNAP_NAME\"" || snap_download_failed=1
if [ $snap_download_failed = 1 ] ; then if [ $snap_download_failed = 1 ] ; then
echo "If the channel ($CHANNEL) includes '*/ubuntu-##.##' track per " echo "If the channel ($CHANNEL) includes '*/ubuntu-##.##' track per "

Loading…
Cancel
Save