This reworks the inclusion and moves conditional parts out of the packagegroup into the image definitions.
It also introduces a variable PREINSTALL_MUSIC that you can set to '1' in your conf/local.conf .
Bug-AGL: SPEC-5233
Change-Id: I3eaccfc1099c9d748d485fb144a77491d41af36d
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30258
ci-image-build: Jenkins Job builder account
Tested-by: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
FLUTTER_ICS_HOMESCREEN_CONF = "flutter-ics-homescreen-conf"
ONDEMANDNAVI_CONF = "ondemandnavi-conf"
+# import default music data package if PREINSTALL_MUSIC is set to "1"
+MUSICDATA ?= "${@oe.utils.conditional("PREINSTALL_MUSIC", "1", "pre-install-music-data", "", d)}"
+
AGL_APPS_INSTALL += " \
flutter-ics-homescreen \
${FLUTTER_ICS_HOMESCREEN_CONF} \
camera-gstreamer \
ondemandnavi \
${ONDEMANDNAVI_CONF} \
+ ${MUSICDATA} \
"
ONDEMANDNAVI_CONF = "ondemandnavi-conf"
+# import default music data package if PREINSTALL_MUSIC is set to "1"
+MUSICDATA ?= "${@oe.utils.conditional("PREINSTALL_MUSIC", "1", "pre-install-music-data", "", d)}"
+
AGL_APPS_INSTALL += " \
dashboard \
hvac \
IMAGE_INSTALL += " \
packagegroup-agl-demo-platform \
weston-terminal-conf \
+ ${MUSICDATA} \
"
linux-firmware-ath9k \
linux-firmware-ralink \
iproute2 \
- pre-install-music-data \
${TTF_FONTS} \
"