aboutsummaryrefslogtreecommitdiffstats
path: root/meta-app-framework
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-01-14 17:42:40 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-01-19 15:20:29 +0000
commitb489a7d1a44edc0cf0dc747751c753357bc5dc2b (patch)
treeff930ac421c8ad1d572624b8c902d5d165d46356 /meta-app-framework
parente268db4374a3704eb618855c9ff73c88385ab8e6 (diff)
agl-compositor.service.in: Add default EnvironmentFile
Debugging compositor protocol requires passing environmental variable to the compositor. This adds /etc/default/agl-compositor file which was in the past under /etc/default/weston filename, for this same purpose. Bug-AGL: SPEC-4219 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ia6231c6360625f0e194a246d0c392a0a05e8a5d9 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27084 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-app-framework')
-rw-r--r--meta-app-framework/recipes-graphics/wayland/agl-compositor-init/agl-compositor.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-app-framework/recipes-graphics/wayland/agl-compositor-init/agl-compositor.service.in b/meta-app-framework/recipes-graphics/wayland/agl-compositor-init/agl-compositor.service.in
index 2d0195184..fd56c7c3e 100644
--- a/meta-app-framework/recipes-graphics/wayland/agl-compositor-init/agl-compositor.service.in
+++ b/meta-app-framework/recipes-graphics/wayland/agl-compositor-init/agl-compositor.service.in
@@ -16,6 +16,7 @@ Before=agl-session.target
[Service]
Type=notify
+EnvironmentFile=-/etc/default/agl-compositor
ExecStart=/usr/bin/agl-compositor @AGL_COMPOSITOR_ARGS@
TimeoutStartSec=60