[weston-ini-conf] Fix dependency issue with grpc in meta-agl-core 11/28511/2
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 16 Feb 2023 13:30:40 +0000 (14:30 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 16 Feb 2023 16:56:28 +0000 (16:56 +0000)
grpc is not in the core layer but in meta-oe . Guard the dependency and only enable when
prerequisites are met. This also affects weston-ini-conf. We move this into meta-agl-demo.

Bug-AGL: SPEC-4707
Change-Id: Id7c1d88e94fa03b7933678789aef7ed4e5751148
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
recipes-graphics/wayland/weston-ini-conf/grpc-server.cfg [new file with mode: 0644]
recipes-graphics/wayland/weston-ini-conf_agldemo.inc

diff --git a/recipes-graphics/wayland/weston-ini-conf/grpc-server.cfg b/recipes-graphics/wayland/weston-ini-conf/grpc-server.cfg
new file mode 100644 (file)
index 0000000..14805b9
--- /dev/null
@@ -0,0 +1,4 @@
+
+[shell-client-ext]
+command=/usr/lib/agl-compositor/agl-shell-grpc-server
+
index 003d411..9eabf58 100644 (file)
@@ -2,6 +2,9 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/weston-ini-conf:"
 
 SRC_URI += "file://weston.ini.kvm.in"
 
+# as grpc-server is enabled in meta-agl-demo, we can enable it here
+SRC_URI += "file://grpc-server.cfg"
+
 GUEST_VM1_IMAGE ?= "agl-ivi-demo-platform-flutter"
 GUEST_VM2_IMAGE ?= "agl-cluster-demo-platform-flutter"