Enable overrides of UC20 grade dangerous channels

wip/ubuntu/focal/studio
Łukasz 'sil2100' Zemczak 5 years ago
parent cd098e7c41
commit e611dfc1c4

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.664.3) UNRELEASED; urgency=medium
* Enable overrides of UC20 grade dangerous channels - as this is possible.
(LP: #1879350)
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Mon, 25 May 2020 16:40:27 +0200
livecd-rootfs (2.664.2) focal; urgency=medium
* Revert of initramfs package removal in KVM image (LP: #1880170)

@ -396,6 +396,15 @@ case $IMAGEFORMAT in
candidate|beta|edge|dangerous)
MODEL="ubuntu-core-20-${MODEL#pc-}-${CHANNEL}"
;;
dangerous-*)
# That being said, the dangerous grade *does*
# support channel overrides, so we can use the
# dangerous model assertion and override the channel
# freely.
MODEL="ubuntu-core-20-${MODEL#pc-}-dangerous"
CHANNEL=${CHANNEL#dangerous-}
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS -c $CHANNEL"
;;
*)
echo "Unknown CHANNEL ${CHANNEL} specification for ${SUITE}"
exit 1

Loading…
Cancel
Save