Merge lp:~didrocks/unity-system-compositor/add-dirty-sleep into lp:unity-system-compositor

Proposed by Didier Roche-Tolomelli
Status: Merged
Approved by: Robert Ancell
Approved revision: 36
Merged at revision: 36
Proposed branch: lp:~didrocks/unity-system-compositor/add-dirty-sleep
Merge into: lp:unity-system-compositor
Diff against target: 24 lines (+6/-0)
3 files modified
debian/10-unity-system-compositor.conf (+1/-0)
debian/unity-system-compositor.install (+1/-0)
debian/unity-system-compositor.sleep (+4/-0)
To merge this branch: bzr merge lp:~didrocks/unity-system-compositor/add-dirty-sleep
Reviewer Review Type Date Requested Status
Robert Ancell Approve
kevin gunn (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+175633@code.launchpad.net

Commit message

add a dirty sleep to workaround a race when starting unity-system-compositor from lightdm (unity-system-compositor fails on a module load error, strace workarounds it as well)

Description of the change

add a dirty sleep to workaround a race when starting unity-system-compositor from lightdm (unity-system-compositor fails on a module load error, strace workarounds it as well)

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
kevin gunn (kgunn72) wrote :

review & tested...work for me

review: Approve
Revision history for this message
Robert Ancell (robert-ancell) wrote :

It's a hack but if it solves the problem for now...

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/10-unity-system-compositor.conf'
2--- debian/10-unity-system-compositor.conf 2013-06-21 03:08:48 +0000
3+++ debian/10-unity-system-compositor.conf 2013-07-18 16:53:25 +0000
4@@ -1,2 +1,3 @@
5 [SeatDefaults]
6 type=unity
7+unity-compositor-command=unity-system-compositor.sleep
8
9=== modified file 'debian/unity-system-compositor.install'
10--- debian/unity-system-compositor.install 2013-07-18 05:44:12 +0000
11+++ debian/unity-system-compositor.install 2013-07-18 16:53:25 +0000
12@@ -1,2 +1,3 @@
13 usr/sbin/unity-system-compositor
14 debian/10-unity-system-compositor.conf /etc/lightdm/lightdm.conf.d
15+debian/unity-system-compositor.sleep usr/sbin/
16
17=== added file 'debian/unity-system-compositor.sleep'
18--- debian/unity-system-compositor.sleep 1970-01-01 00:00:00 +0000
19+++ debian/unity-system-compositor.sleep 2013-07-18 16:53:25 +0000
20@@ -0,0 +1,4 @@
21+#!/bin/sh
22+
23+sleep .1
24+/usr/sbin/unity-system-compositor $@

Subscribers

People subscribed via source and target branches