Add support for Ubuntu Core 20 builds by supporting uc20 models.

This commit is contained in:
Łukasz 'sil2100' Zemczak 2019-12-10 15:27:06 +01:00
parent 4006326978
commit a1daf38b93

View File

@ -356,9 +356,12 @@ case $IMAGEFORMAT in
xenial) xenial)
# Ubuntu Core 16 # Ubuntu Core 16
;; ;;
*) bionic)
# Ubuntu Core 18 # Ubuntu Core 18
MODEL="ubuntu-core-18-${MODEL#pc-}" ;; MODEL="ubuntu-core-18-${MODEL#pc-}" ;;
*)
# Ubuntu Core 20
MODEL="ubuntu-core-20-${MODEL#pc-}" ;;
esac esac
case "$ARCH+${SUBARCH:-}" in case "$ARCH+${SUBARCH:-}" in