Enable overrides of UC20 grade dangerous channels

arbitrary-model-names
Łukasz 'sil2100' Zemczak 5 years ago
parent 60665a434b
commit 40103430d8

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.668) 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.667) groovy; urgency=medium
* Revert of initramfs package removal in KVM image

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