From ef9f3be0de0e6deae195d8a0b48fe967928d29ea Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Wed, 8 Apr 2015 09:34:15 +0100 Subject: [PATCH] Install the correct kernels on each arch. --- live-build/auto/config | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/live-build/auto/config b/live-build/auto/config index 96382316..b0e1fc2f 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -536,10 +536,21 @@ if [ "$PROJECT" = "ubuntu-cpc" ]; then BINARY_REMOVE_LINUX=false OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none" KERNEL_FLAVOURS=none + case $ARCH in + armhf) + add_package install flash-kernel u-boot-tools linux-generic-lpae + ;; + arm64) + add_package install flash-kernel linux-generic + ;; + *) + add_package install linux-virtual + ;; + esac OPTS="${OPTS:+$OPTS }--system=normal" OPTS="${OPTS:+$OPTS }--hdd-label=cloudimg-rootfs" add_task install minimal standard cloud-image - add_package install linux-virtual landscape-client ubuntu-minimal + add_package install landscape-client ubuntu-minimal fi add_chroot_hook update-apt-file-cache