install the kernel in the system-image subproject

This commit is contained in:
Michael Vogt 2014-07-24 23:34:49 +02:00
parent 22ce1e0085
commit b4da1a2239

View File

@ -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