|
|
@ -436,10 +436,16 @@ esac
|
|
|
|
|
|
|
|
|
|
|
|
case $PROJECT in
|
|
|
|
case $PROJECT in
|
|
|
|
ubuntu-server|ubuntu-core|ubuntu-touch)
|
|
|
|
ubuntu-server|ubuntu-core|ubuntu-touch)
|
|
|
|
OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none"
|
|
|
|
case $SUBPROJECT in
|
|
|
|
KERNEL_FLAVOURS=none
|
|
|
|
system-image)
|
|
|
|
BINARY_REMOVE_LINUX=false
|
|
|
|
# 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
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
add_chroot_hook update-apt-file-cache
|
|
|
|
add_chroot_hook update-apt-file-cache
|
|
|
|