summaryrefslogtreecommitdiffstats
path: root/recipes-demo/homescreen/files
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-11-04 14:51:50 -0400
committerScott Murray <scott.murray@konsulko.com>2021-11-04 14:54:59 -0400
commit6adbf6b85fa629ec2ff43cd0a72f49b8020ddcb0 (patch)
treebd8cc2af8d4eabe1f919442d3ce9ad5bce413b38 /recipes-demo/homescreen/files
parent218fa1cb7fc71104cd12cd3af5576c17cd73643d (diff)
homescreen: update recipe
Rework homescreen demo app recipe for building a version of it with the application framework usage removed. A simple systemd unit to start it has been added as a placeholder until the new application scheme has been added. This will at least produce something on screen for testing, and the HOMESCREEN_DEMO_CI environment variable can be defined via /etc/default/homescreen to potentially re-enable the CI startup test. Bug-AGL: SPEC-4121 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I510873d428dc98286775722e23b34cd4a9862258
Diffstat (limited to 'recipes-demo/homescreen/files')
-rw-r--r--recipes-demo/homescreen/files/homescreen.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-demo/homescreen/files/homescreen.service b/recipes-demo/homescreen/files/homescreen.service
new file mode 100644
index 000000000..6d57ea775
--- /dev/null
+++ b/recipes-demo/homescreen/files/homescreen.service
@@ -0,0 +1,14 @@
+[Unit]
+Requires=weston.service
+After=weston.service
+
+[Service]
+# Placeholder configuration to run as weston user for now.
+User=weston
+Group=weston
+Environment=XDG_RUNTIME_DIR=/run/user/200
+EnvironmentFile=-/etc/default/homescreen
+ExecStart=/usr/bin/homescreen
+
+[Install]
+WantedBy=graphical.target