From 6adbf6b85fa629ec2ff43cd0a72f49b8020ddcb0 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 4 Nov 2021 14:51:50 -0400 Subject: 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 Change-Id: I510873d428dc98286775722e23b34cd4a9862258 --- recipes-demo/homescreen/files/homescreen.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 recipes-demo/homescreen/files/homescreen.service (limited to 'recipes-demo/homescreen/files') 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 -- cgit 1.2.3-korg