summaryrefslogtreecommitdiffstats
path: root/recipes-demo/agl-demo-control-panel/files
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-10-30 18:21:44 -0400
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-11-06 11:53:01 +0000
commit8f24ebb0b6bd4a7181e188a8ab5aec209a1917e4 (patch)
treedd4f13d28a147f514457bb970a2326975a4072a2 /recipes-demo/agl-demo-control-panel/files
parent6e5995597c93831394024e0b8431702f1e785dcb (diff)
agl-demo-control-panel: add recipe and image
Add recipe to build the agl-demo-control-panel application, and a corresponding new image recipe, agl-ivi-demo-control-panel, that yields an image that runs the control panel fullscreen on boot. Bug-AGL: SPEC-4952 Change-Id: I17d762230e48ab47de3f6214a2a9dc1f59f3a8ea Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29347 Reviewed-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Reviewed-by: Lisandro Perez Meyer <lpmeyer@ics.com> ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
Diffstat (limited to 'recipes-demo/agl-demo-control-panel/files')
-rw-r--r--recipes-demo/agl-demo-control-panel/files/agl-demo-control-panel.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-demo/agl-demo-control-panel/files/agl-demo-control-panel.service b/recipes-demo/agl-demo-control-panel/files/agl-demo-control-panel.service
new file mode 100644
index 00000000..5780bdfa
--- /dev/null
+++ b/recipes-demo/agl-demo-control-panel/files/agl-demo-control-panel.service
@@ -0,0 +1,16 @@
+[Unit]
+Requires=weston.service
+After=weston.service
+Before=graphical.target
+
+[Service]
+Type=simple
+User=agl-driver
+Group=agl-driver
+Environment=XDG_RUNTIME_DIR=/run/user/1001/
+Environment=WAYLAND_DISPLAY=wayland-1
+ExecStart=/usr/bin/python3 /usr/libexec/agl-demo-control-panel/main.py
+Restart=on-failure
+
+[Install]
+WantedBy=graphical.target