From d4626e0b8e1f819f869b2ec51979e0c531d26ac1 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 28 Jul 2014 20:10:56 +0200 Subject: [PATCH] Import patches-unapplied version 2.230 to ubuntu/utopic-proposed Imported using git-ubuntu import. Changelog parent: 157b5a339e948abc9c5b6e942e9a51c8de860635 New changelog entries: * lp:~mvo/livecd-rootfs/ubuntu-core-system-image: - install the "ubuntu-core" task and a kernel when building ubuntu-core with SUBPROJECT=system-image --- debian/changelog | 8 ++++++++ live-build/auto/config | 21 +++++++++++++++++---- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 0339ad41..59f44061 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +livecd-rootfs (2.230) utopic; urgency=low + + * lp:~mvo/livecd-rootfs/ubuntu-core-system-image: + - install the "ubuntu-core" task and a kernel when building + ubuntu-core with SUBPROJECT=system-image + + -- Michael Vogt Mon, 28 Jul 2014 20:10:56 +0200 + livecd-rootfs (2.229) utopic; urgency=medium [ Michael Terry ] diff --git a/live-build/auto/config b/live-build/auto/config index 8d054b46..37cc6f71 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -324,6 +324,13 @@ case $PROJECT in ubuntu-core) add_task install minimal + # mvo: This is for cron.daily-preinstalled + # CDIMAGE_PREINSTALLED is not passed from build.py + # and PREINSTALLED means something different. So + # we use SUBPROJECT to pass on the information + if [ "$SUBPROJECT" = "system-image" ]; then + add_task install ubuntu-core + fi OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal" ;; @@ -429,10 +436,16 @@ esac case $PROJECT in ubuntu-server|ubuntu-core|ubuntu-touch) - OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none" - KERNEL_FLAVOURS=none - BINARY_REMOVE_LINUX=false - ;; + case $SUBPROJECT in + system-image) + # keep the kernel for the system-image build + ;; + *) + OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none" + KERNEL_FLAVOURS=none + BINARY_REMOVE_LINUX=false + ;; + esac esac add_chroot_hook update-apt-file-cache