live-build/auto/config: when run with SUBPROJECT=system-image add ubuntu-core task to the ubuntu-core build

This commit is contained in:
Michael Vogt 2014-07-24 22:57:36 +02:00
parent 73f29eee0d
commit 22ce1e0085

View File

@ -324,6 +324,13 @@ case $PROJECT in
ubuntu-core)
add_task install minimal
# mvo: This is for cron.daily-preinstalled
# CDIMAGE_PREINSTALLED is not passed from build.py
# and PREINSTALLED means something different. So
# we use SUBPROJECT to pass on the information
if [ "$SUBPROJECT" = "system-image" ]; then
add_task install ubuntu-core
fi
OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal"
;;