|
|
@ -359,8 +359,16 @@ case $IMAGEFORMAT in
|
|
|
|
CHANNEL="${CHANNEL:-edge}"
|
|
|
|
CHANNEL="${CHANNEL:-edge}"
|
|
|
|
case $MODEL in
|
|
|
|
case $MODEL in
|
|
|
|
pc-amd64|pc-i386)
|
|
|
|
pc-amd64|pc-i386)
|
|
|
|
[ -z "${SUBARCH:-}" ] \
|
|
|
|
if [ -z "${SUBARCH:-}" ]; then
|
|
|
|
&& UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --image-size 3700M"
|
|
|
|
case $SUITE in
|
|
|
|
|
|
|
|
xenial|bionic)
|
|
|
|
|
|
|
|
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --image-size 3700M"
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
|
|
|
|
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --image-size 8G"
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
*) ;;
|
|
|
|
*) ;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
@ -375,7 +383,6 @@ case $IMAGEFORMAT in
|
|
|
|
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS -c $CHANNEL"
|
|
|
|
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS -c $CHANNEL"
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
*)
|
|
|
|
UBUNTU_IMAGE_ARGS="--image-size 10G"
|
|
|
|
|
|
|
|
# Ubuntu Core 20
|
|
|
|
# Ubuntu Core 20
|
|
|
|
# Currently uc20 assertions do not support global
|
|
|
|
# Currently uc20 assertions do not support global
|
|
|
|
# channel overrides, instead we have per-channel models
|
|
|
|
# channel overrides, instead we have per-channel models
|
|
|
|