summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-04-11 19:48:14 +0200
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-04-11 19:48:14 +0200
commitc06795092c2422bdb4f9dad4b871b7cadc058a5f (patch)
tree62b2b9d81600fb35747460f9fc1bf11aec071c95
parentfd61837785528e152c3bf4b415f4dfe37a216983 (diff)
downloadmeta-c06795092c2422bdb4f9dad4b871b7cadc058a5f.tar.gz
meta-c06795092c2422bdb4f9dad4b871b7cadc058a5f.tar.bz2
meta-c06795092c2422bdb4f9dad4b871b7cadc058a5f.zip
generic-wayland: wait for weston ready before user session start
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
-rw-r--r--scripts/generic-wayland.post4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generic-wayland.post b/scripts/generic-wayland.post
index b1dbcc6..4500b78 100644
--- a/scripts/generic-wayland.post
+++ b/scripts/generic-wayland.post
@@ -30,8 +30,8 @@ patch -p1 -d/ <<'EOF'
+Requires=systemd-logind.service display-manager.service
[Service]
-+ExecStartPre=/usr/bin/sleep 2
- ExecStart=/usr/bin/user-session-launch %i
+-ExecStart=/usr/bin/user-session-launch %i
++ExecStart=/usr/bin/wl-pre "/usr/bin/user-session-launch %i"
[Install]
EOF