|
|
|
@ -476,25 +476,14 @@ case $IMAGEFORMAT in
|
|
|
|
|
;;
|
|
|
|
|
*) ;;
|
|
|
|
|
esac
|
|
|
|
|
case $SUITE in
|
|
|
|
|
xenial)
|
|
|
|
|
# Ubuntu Core 16
|
|
|
|
|
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS -c $CHANNEL"
|
|
|
|
|
;;
|
|
|
|
|
bionic)
|
|
|
|
|
# Ubuntu Core 18
|
|
|
|
|
MODEL="ubuntu-core-18-${MODEL#pc-}"
|
|
|
|
|
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS -c $CHANNEL"
|
|
|
|
|
;;
|
|
|
|
|
*)
|
|
|
|
|
if [ "$SUITE" = "focal" ]; then
|
|
|
|
|
CORE_MAJOR=20
|
|
|
|
|
else
|
|
|
|
|
CORE_MAJOR=22
|
|
|
|
|
fi
|
|
|
|
|
# Ubuntu Core 2x
|
|
|
|
|
# Currently uc2x assertions do not support global
|
|
|
|
|
# channel overrides, instead we have per-channel models
|
|
|
|
|
|
|
|
|
|
# Ubuntu Core 24
|
|
|
|
|
# For now we stick to updating this by hand, but a more tasteful solution
|
|
|
|
|
# will follow
|
|
|
|
|
CORE_MAJOR=24
|
|
|
|
|
|
|
|
|
|
# Currently uc24 assertions do not support global channel overrides,
|
|
|
|
|
# instead we have per-channel models
|
|
|
|
|
case $CHANNEL in
|
|
|
|
|
stable)
|
|
|
|
|
MODEL="ubuntu-core-${CORE_MAJOR}-${MODEL#pc-}"
|
|
|
|
@ -516,8 +505,6 @@ case $IMAGEFORMAT in
|
|
|
|
|
exit 1
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
case "$ARCH+${SUBARCH:-}" in
|
|
|
|
|
amd64+kassel)
|
|
|
|
|