aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-03-08 11:42:50 +0100
committerRonan Le Martret <ronan.lemartret@iot.bzh>2017-03-09 15:38:12 +0100
commitbace9bfb62b1c403f882a97e80d9bf17b58db147 (patch)
treed7a387f23503246b98bb27baa75220cd6e5f15b9
parent7783a290e85c35e8e152dee8099f8defe2ca710d (diff)
Fixed WindowManager startup
* WindowManager must start only when weston is ready. [SPEC-470] Change-Id: I1d63cdb60223686e18ed49fa48d2a14bb978949b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
-rw-r--r--recipes-demo-hmi/windowmanager/windowmanager_git.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-demo-hmi/windowmanager/windowmanager_git.bb b/recipes-demo-hmi/windowmanager/windowmanager_git.bb
index 013f44596..f6119aa15 100644
--- a/recipes-demo-hmi/windowmanager/windowmanager_git.bb
+++ b/recipes-demo-hmi/windowmanager/windowmanager_git.bb
@@ -26,9 +26,10 @@ do_install() {
install -d ${D}${systemd_user_unitdir}
install -m 0644 ${S}/windowmanager/conf/WindowManager.service ${D}${systemd_user_unitdir}
+ install -m 0644 ${S}/windowmanager/conf/WindowManager.path ${D}${systemd_user_unitdir}
install -d ${D}${sysconfdir}/systemd/user/default.target.wants
- ln -sf ${systemd_user_unitdir}/WindowManager.service ${D}${sysconfdir}/systemd/user/default.target.wants
+ ln -sf ${systemd_user_unitdir}/WindowManager.path ${D}${sysconfdir}/systemd/user/default.target.wants
}
FILES_${PN} += "/usr/AGL/${PN}/ ${systemd_user_unitdir}"