From b4da1a2239e64d043c94962fe8527fc18aebdecf Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 24 Jul 2014 23:34:49 +0200 Subject: [PATCH] install the kernel in the system-image subproject --- live-build/auto/config | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/live-build/auto/config b/live-build/auto/config index 764c7707..37cc6f71 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -436,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