diff --git a/debian/changelog b/debian/changelog index d53e5f94..a10b8cf7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +livecd-rootfs (2.665) groovy; urgency=medium + + * Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible. + (LP: #1875430) + * ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name. + (LP: #1876358) + * ubuntu-image: drop ubuntu-image dep on riscv64, as not installable yet. + (LP: #1876359) + + -- Dimitri John Ledkov Fri, 01 May 2020 20:00:00 +0100 + livecd-rootfs (2.664) focal; urgency=medium [ Patrick Viafore ] diff --git a/debian/control b/debian/control index 13ee2dc9..8025b061 100644 --- a/debian/control +++ b/debian/control @@ -38,7 +38,7 @@ Depends: ${misc:Depends}, squashfs-tools (>= 1:3.3-1), sudo, u-boot-tools [armhf arm64], - ubuntu-image [!i386], + ubuntu-image [!i386 !riscv64], python3-vmdkstream [amd64 i386], xz-utils, zerofree diff --git a/live-build/auto/config b/live-build/auto/config index 04b8013d..fb6ca877 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -359,8 +359,16 @@ case $IMAGEFORMAT in CHANNEL="${CHANNEL:-edge}" case $MODEL in pc-amd64|pc-i386) - [ -z "${SUBARCH:-}" ] \ - && UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --image-size 3700M" + if [ -z "${SUBARCH:-}" ]; then + 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 @@ -375,7 +383,9 @@ case $IMAGEFORMAT in UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS -c $CHANNEL" ;; *) - UBUNTU_IMAGE_ARGS="--image-size 10G" + 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