summaryrefslogtreecommitdiffstats
path: root/recipes-platform/images/agl-ivi-demo-qt.bb
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-09-06 17:26:40 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-09-09 14:37:44 +0000
commit76ce5a83f797e4f49454ffab1fc41542e6baf960 (patch)
tree47db8a3439397ef19e578d3f2a2bb2909173497e /recipes-platform/images/agl-ivi-demo-qt.bb
parent1f2f47d9ae8d21ace5b74e0c3364e38643088092 (diff)
Move music data inclusion into image instead of packagegroup and make it conditional
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 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30216
Diffstat (limited to 'recipes-platform/images/agl-ivi-demo-qt.bb')
-rw-r--r--recipes-platform/images/agl-ivi-demo-qt.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-platform/images/agl-ivi-demo-qt.bb b/recipes-platform/images/agl-ivi-demo-qt.bb
index 8fe988d06..58bab4792 100644
--- a/recipes-platform/images/agl-ivi-demo-qt.bb
+++ b/recipes-platform/images/agl-ivi-demo-qt.bb
@@ -4,6 +4,9 @@ SUMMARY = "AGL IVI demo Qt image"
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 \
@@ -21,5 +24,6 @@ AGL_APPS_INSTALL += " \
IMAGE_INSTALL += " \
packagegroup-agl-demo-platform \
weston-terminal-conf \
+ ${MUSICDATA} \
"