For now don't build riscv64 images with ubuntu-image. Also, install ubuntu-image as a snap (use the beta branch for now).

ui-by-default-wip
Łukasz 'sil2100' Zemczak 2 years ago
parent c56e7aab04
commit 8cf41eb099

1
debian/control vendored

@ -37,7 +37,6 @@ Depends: ${misc:Depends},
snapd (>= 2.39) [!i386],
squashfs-tools (>= 1:3.3-1),
sudo,
ubuntu-image [!i386 !riscv64],
python3-vmdkstream [amd64 i386],
xz-utils,
zerofree

@ -90,6 +90,7 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
# Use ubuntu-image instead of live-build
export SNAPPY_STORE_NO_CDN=1
snap install --classic --channel=beta/classic-image-redesign ubuntu-image
# TODO: eventually, this should be handled by a single ubuntu-image
# call without having to do a conditional on ubuntu-core/classic.

@ -334,9 +334,8 @@ if [ -z "${IMAGEFORMAT:-}" ]; then
case $PROJECT:${SUBPROJECT:-} in
ubuntu-cpc:*|ubuntu:desktop-preinstalled|ubuntu-wsl:*)
case $ARCH+${SUBARCH:-} in
*+raspi|riscv64+?*)
# All raspi and RISC-V images that *have* a SUBARCH will now
# use ubuntu-image.
*+raspi)
# All raspi images use ubuntu-image.
IMAGEFORMAT=ubuntu-image
;;
*)

Loading…
Cancel
Save