diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-09-06 17:26:40 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-09-09 08:21:18 +0000 |
commit | db5447e035014952483cde78ea580fafd5201896 (patch) | |
tree | 2201350a2ca177231795e7bcac8b332b4ef82349 /recipes-platform/images/agl-ivi-demo-flutter.bb | |
parent | cf57bd29b9bf9614d9fa7f7e80fc4a6cfbcde7a0 (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
Diffstat (limited to 'recipes-platform/images/agl-ivi-demo-flutter.bb')
-rw-r--r-- | recipes-platform/images/agl-ivi-demo-flutter.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-platform/images/agl-ivi-demo-flutter.bb b/recipes-platform/images/agl-ivi-demo-flutter.bb index 5753d58af..3a280e6f3 100644 --- a/recipes-platform/images/agl-ivi-demo-flutter.bb +++ b/recipes-platform/images/agl-ivi-demo-flutter.bb @@ -5,10 +5,14 @@ SUMMARY = "AGL IVI demo Flutter image" 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} \ " |