From 661f7bdca34b6aa9d254802e6ce8c73c92fcd802 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Fri, 11 Apr 2014 15:40:10 +0200 Subject: [PATCH] fix synchronisation bug between weston and user sessions Signed-off-by: Stephane Desneux --- scripts/generic-wayland.post | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/generic-wayland.post b/scripts/generic-wayland.post index d9bf689..b1dbcc6 100644 --- a/scripts/generic-wayland.post +++ b/scripts/generic-wayland.post @@ -21,14 +21,19 @@ done patch -p1 -d/ <<'EOF' --- bad/lib/systemd/system/user-session-launch@.service 2014-04-11 03:51:54.651484824 -0700 +++ good/lib/systemd/system/user-session-launch@.service 2014-04-11 03:44:28.016532732 -0700 -@@ -1,6 +1,6 @@ +@@ -1,9 +1,10 @@ [Unit] Description=User Session Launcher -After=systemd-user-sessions.service systemd-logind.service +-Requires=systemd-logind.service +After=systemd-user-sessions.service systemd-logind.service display-manager.service - Requires=systemd-logind.service ++Requires=systemd-logind.service display-manager.service [Service] ++ExecStartPre=/usr/bin/sleep 2 + ExecStart=/usr/bin/user-session-launch %i + + [Install] EOF # clean weston target inside user session (installed by weston) -- 2.7.4