@ -231,17 +231,12 @@ case $PROJECT in
ubuntu-server)
ubuntu-server)
add_task install minimal
add_task install minimal
OPTS="${OPTS:+$OPTS }--linux-packages=none"
KERNEL_FLAVOURS=none
COMPONENTS='main'
COMPONENTS='main'
PREINSTALL_POOL_SEEDS='server-ship'
PREINSTALL_POOL_SEEDS='server-ship'
;;
;;
ubuntu-core)
ubuntu-core)
OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal"
OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal"
OPTS="${OPTS:+$OPTS }--linux-packages=none"
KERNEL_FLAVOURS=none
BINARY_REMOVE_LINUX=false
;;
;;
*)
*)
@ -303,6 +298,14 @@ case $ARCH in
;;
;;
esac
esac
case $PROJECT in
ubuntu-server|ubuntu-core)
OPTS="${OPTS:+$OPTS }--linux-packages=none"
KERNEL_FLAVOURS=none
BINARY_REMOVE_LINUX=false
;;
esac
add_chroot_hook update-apt-file-cache
add_chroot_hook update-apt-file-cache
add_chroot_hook update-apt-xapian-index
add_chroot_hook update-apt-xapian-index
add_chroot_hook update-mlocate-database
add_chroot_hook update-mlocate-database