diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-07-04 14:44:46 +0000 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-07-24 09:14:03 +0000 |
commit | 94a19893064724d89893252735883cdb0415835f (patch) | |
tree | 4bff24f56fd4b235870307e7834d67576038a9e5 /meta-agl-demo-control-panel/recipes-demo/agl-demo-control-panel/files | |
parent | ca836399d23e92f20d7ccc02122ab029e695cc6b (diff) |
Move agl-demo-control-panel into own layer and feature during qt6 migration
This creates a temporary sublayer for the demo control panel until
meta-agl-demo itself is migrated to qt6.
Bug-AGL: SPEC-5195
Change-Id: I07f97385600fb695e182b11c528225d5510185d9
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30067
Diffstat (limited to 'meta-agl-demo-control-panel/recipes-demo/agl-demo-control-panel/files')
-rw-r--r-- | meta-agl-demo-control-panel/recipes-demo/agl-demo-control-panel/files/agl-demo-control-panel.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-agl-demo-control-panel/recipes-demo/agl-demo-control-panel/files/agl-demo-control-panel.service b/meta-agl-demo-control-panel/recipes-demo/agl-demo-control-panel/files/agl-demo-control-panel.service new file mode 100644 index 000000000..5780bdfa4 --- /dev/null +++ b/meta-agl-demo-control-panel/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 |