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

u-i-disk-info
Łukasz 'sil2100' Zemczak 5 years ago
parent 4006326978
commit a1daf38b93

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

Loading…
Cancel
Save