Merge lp:~mzanetti/ubuntu/saucy/lxc-android-config/drop-set-display-mir into lp:ubuntu/saucy/lxc-android-config

Proposed by Michael Zanetti
Status: Needs review
Proposed branch: lp:~mzanetti/ubuntu/saucy/lxc-android-config/drop-set-display-mir
Merge into: lp:ubuntu/saucy/lxc-android-config
Diff against target: 55 lines (+1/-39)
2 files modified
debian/control (+1/-0)
etc/init/boot-hooks/set-display-mir.conf (+0/-39)
To merge this branch: bzr merge lp:~mzanetti/ubuntu/saucy/lxc-android-config/drop-set-display-mir
Reviewer Review Type Date Requested Status
Oliver Grawert Approve
Review via email: mp+213251@code.launchpad.net

Commit message

Dropping set-display-mir.conf. We're only using Mir as of now.

To post a comment you must log in.
Revision history for this message
Oliver Grawert (ogra) wrote :

looks fine

review: Approve
118. By Michael Zanetti

break older unity8 versions

Unmerged revisions

118. By Michael Zanetti

break older unity8 versions

117. By Michael Zanetti

drop set-display-mir.conf. We're only using Mir as of now.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2013-08-27 16:55:57 +0000
3+++ debian/control 2014-03-31 15:15:35 +0000
4@@ -9,6 +9,7 @@
5 Architecture: all
6 Multi-Arch: foreign
7 Depends: lxc, cgroup-lite, debianutils, upstart, ${misc:Depends}
8+Breaks: unity8 (<< 8.85)
9 Recommends: ofono
10 Description: configuration to fire up an ubuntu-touch android container
11 This package contains the scripts to boot an Ubuntu Touch device.
12
13=== removed file 'etc/init/boot-hooks/set-display-mir.conf'
14--- etc/init/boot-hooks/set-display-mir.conf 2013-10-09 08:27:21 +0000
15+++ etc/init/boot-hooks/set-display-mir.conf 1970-01-01 00:00:00 +0000
16@@ -1,39 +0,0 @@
17-# set-display-mir - creates .display-mir file once (on supported devices)
18-
19-author "Loïc Minier <loic.minier@ubuntu.com>"
20-description "Creates .display-mir file once"
21-
22-# start when first boot-hooks event is emitted and before lxc-android-config
23-# starts as it disables SurfaceFlinger based on the Mir flag
24-start on boot-hooks and starting lxc-android-config
25-
26-# NOT a task as otherwise this would block restarting lxc-android-config
27-
28-setuid phablet
29-setgid phablet
30-chdir /home/phablet
31-env FLAG=.set-display-mir-done2
32-env OLDFLAG=.set-display-mir-done
33-env DISPLAY_MIR=.display-mir
34-
35-# work needs to be done in pre-start as this really is a job with nothing to
36-# start
37-pre-start script
38- rm -f "$OLDFLAG"
39-
40- # XXX this is what we should be using, but this job gets started with
41- # "WHEN=every-boot" and then doesn't get the second event for
42- # "WHEN=new-version"
43- #if [ "$WHEN" = "new-version" ] && [ ! -e "$FLAG" ]; then
44- if [ ! -e "$FLAG" ]; then
45- # only enable on supported devices
46- case "$(getprop ro.product.device)" in
47- grouper|maguro|mako)
48- touch "$DISPLAY_MIR"
49- ;;
50- esac
51-
52- touch "$FLAG"
53- fi
54-end script
55-

Subscribers

People subscribed via source and target branches