Skip installing server task when building minimial images

ubuntu/artful
Balint Reczey 7 years ago
parent d6bb42bc63
commit 314655a2ae

@ -549,6 +549,11 @@ case $PROJECT in
add_task install minimal standard cloud-image add_task install minimal standard cloud-image
add_package install ubuntu-minimal add_package install ubuntu-minimal
KERNEL_FLAVOURS=virtual KERNEL_FLAVOURS=virtual
case $ARCH in
armhf|arm64|ppc64el|powerpc)
add_task install server
;;
esac
fi fi
BINARY_REMOVE_LINUX=false BINARY_REMOVE_LINUX=false
@ -557,17 +562,9 @@ case $PROJECT in
armhf) armhf)
KERNEL_FLAVOURS=generic-lpae KERNEL_FLAVOURS=generic-lpae
add_package install flash-kernel add_package install flash-kernel
add_task install server
;; ;;
arm64) arm64)
add_package install flash-kernel add_package install flash-kernel
add_task install server
;;
ppc64el)
add_task install server
;;
powerpc)
add_task install server
;; ;;
esac esac
OPTS="${OPTS:+$OPTS }--system=normal" OPTS="${OPTS:+$OPTS }--system=normal"

Loading…
Cancel
Save