From 2896d39a7af75e6e8ed3a1eaee567c794ad47b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Tue, 29 Oct 2019 12:33:20 +0100 Subject: [PATCH] Make sure the imx6 subarch uses the ubuntu-image imageformat. --- debian/changelog | 6 ++++++ live-build/auto/config | 14 ++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index f9d0a137..08ad9877 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.621) UNRELEASED; urgency=medium + + * Make sure the imx6 subarch uses the ubuntu-image imageformat. + + -- Ɓukasz 'sil2100' Zemczak Tue, 29 Oct 2019 12:31:35 +0100 + livecd-rootfs (2.620) eoan; urgency=medium * Limit the lxd group to images with an installer; it's less appropriate diff --git a/live-build/auto/config b/live-build/auto/config index 8433bb4d..dcc63896 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -279,12 +279,14 @@ _get_live_passes () if [ -z "${IMAGEFORMAT:-}" ]; then case $PROJECT:${SUBPROJECT:-} in ubuntu-cpc:*|ubuntu:desktop-preinstalled) - if [ "$SUBARCH" = "raspi3" ]; then - # For now only raspi3, but others are soon to follow - IMAGEFORMAT=ubuntu-image - else - IMAGEFORMAT=ext4 - fi + case $SUBARCH in + raspi3|imx6) + IMAGEFORMAT=ubuntu-image + ;; + *) + IMAGEFORMAT=ext4 + ;; + esac ;; ubuntu-server:live) IMAGEFORMAT=plain