From c06795092c2422bdb4f9dad4b871b7cadc058a5f Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Fri, 11 Apr 2014 19:48:14 +0200 Subject: generic-wayland: wait for weston ready before user session start Signed-off-by: Stephane Desneux --- scripts/generic-wayland.post | 4 ++-- 1 file 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 -- cgit v1.2.3