summaryrefslogtreecommitdiff
path: root/meta-unit-graphics/recipes-core/systemd/systemd-weston-signal.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-unit-graphics/recipes-core/systemd/systemd-weston-signal.bb')
-rw-r--r--meta-unit-graphics/recipes-core/systemd/systemd-weston-signal.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-unit-graphics/recipes-core/systemd/systemd-weston-signal.bb b/meta-unit-graphics/recipes-core/systemd/systemd-weston-signal.bb
new file mode 100644
index 0000000..8690db9
--- /dev/null
+++ b/meta-unit-graphics/recipes-core/systemd/systemd-weston-signal.bb
@@ -0,0 +1,26 @@
+SUMMARY = "Systemd service for notifying kiosk user that weston is ready"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${UNIT_GRAPHICS_LAYERDIR}/LICENSE;md5=a77c12e0c0e8a14cebb1494195720ccc"
+
+SYSTEMD_SERVICE:${PN} = "weston-ready.service"
+
+SRC_URI = "\
+ file://weston-ready.service \
+"
+
+RDEPENDS:${PN} = "\
+ add-user-kiosk \
+ weston \
+"
+
+S = "${UNPACKDIR}"
+
+do_install() {
+ install -D -p -m0644 ${S}/weston-ready.service ${D}${systemd_system_unitdir}/weston-ready.service
+}
+
+inherit systemd
+
+FILES:${PN} = "\
+ ${systemd_system_unitdir}/weston-ready.service \
+"