From e5651db1a7cb5623fd475c5a1edaade2b3416920 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Wed, 8 Apr 2015 09:34:15 +0100 Subject: [PATCH] Get an image that looks about right building. --- live-build/auto/config | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/live-build/auto/config b/live-build/auto/config index e65678f3..a9cb0b03 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -111,7 +111,13 @@ case $IMAGEFORMAT in COMPONENTS='main restricted universe multiverse' ;; *) - add_package live jasper + case $PROJECT in + ubuntu-cpc) + ;; + *) + add_package live jasper + ;; + esac ;; esac ;; @@ -156,7 +162,7 @@ if [ "$PREINSTALLED" = "true" ] && [ "$SUBPROJECT" != "wubi" ]; then ubuntu-server) add_package live oem-config-debconf ubiquity-frontend-debconf ;; - ubuntu-core|base|ubuntu-touch) + ubuntu-core|base|ubuntu-touch|ubuntu-cpc) ;; *) add_package live oem-config-gtk ubiquity-frontend-gtk @@ -440,6 +446,9 @@ case $PROJECT in esac ;; + ubuntu-cpc) + ;; + *) echo "unknown project $PROJECT" >&2 exit 2 @@ -523,6 +532,14 @@ case $PROJECT in esac esac +if [ "$PROJECT" = "ubuntu-cpc" ]; then + BINARY_REMOVE_LINUX=false + OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none" + KERNEL_FLAVOURS=none + add_package install linux-virtual + OPTS="${OPTS:+$OPTS }--package-list=ubuntu-cloud-t --system=normal" +fi + add_chroot_hook update-apt-file-cache add_chroot_hook update-apt-xapian-index add_chroot_hook update-mlocate-database