ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name.

LP: #1876358
xnox/fix-pi-models
Dimitri John Ledkov 5 years ago
parent 99e129f30c
commit 6e8b5b94c4

@ -383,6 +383,9 @@ case $IMAGEFORMAT in
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS -c $CHANNEL"
;;
*)
if [ "${MODEL}" = "pi" ]; then
MODEL=pi-armhf
fi
# Ubuntu Core 20
# Currently uc20 assertions do not support global
# channel overrides, instead we have per-channel models

Loading…
Cancel
Save