Begin adding support for a project-independent 'minimize' subproject,

which (ironically) omits ubuntu-minimal in favor of using only the
minbase package set.
ubuntu/artful
Steve Langasek 7 years ago committed by Balint Reczey
parent 7c58bcecf0
commit abbbeb8fda

@ -238,6 +238,10 @@ esac
SIGNED_KERNEL_PACKAGE="linux-signed-generic" SIGNED_KERNEL_PACKAGE="linux-signed-generic"
if [ "$SUBPROJECT" = minimize ]; then
OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal"
fi
case $PROJECT in case $PROJECT in
ubuntu|ubuntu-dvd) ubuntu|ubuntu-dvd)
add_task install minimal standard ubuntu-desktop add_task install minimal standard ubuntu-desktop
@ -524,8 +528,12 @@ case $PROJECT in
;; ;;
ubuntu-cpc) ubuntu-cpc)
add_task install minimal standard cloud-image if [ "$SUBPROJECT" = minimize ]; then
add_package install ubuntu-minimal add_task install cloud-image
else
add_task install minimal standard cloud-image
add_package install ubuntu-minimal
fi
BINARY_REMOVE_LINUX=false BINARY_REMOVE_LINUX=false
OPTS="${OPTS:+$OPTS }--initramfs=none" OPTS="${OPTS:+$OPTS }--initramfs=none"

Loading…
Cancel
Save