Merge lp:~laney/unity8-desktop-session/platform-api-export into lp:unity8-desktop-session

Proposed by Iain Lane on 2015-03-06
Status: Merged
Approved by: Ricardo Mendoza on 2015-03-06
Approved revision: 76
Merged at revision: 76
Proposed branch: lp:~laney/unity8-desktop-session/platform-api-export
Merge into: lp:unity8-desktop-session
Diff against target: 11 lines (+1/-0)
1 file modified
data/lightdm-unity8-session (+1/-0)
To merge this branch: bzr merge lp:~laney/unity8-desktop-session/platform-api-export
Reviewer Review Type Date Requested Status
Ricardo Mendoza (community) 2015-03-06 Approve on 2015-03-06
Stephen M. Webb (community) 2015-03-06 Approve on 2015-03-06
Review via email: mp+252105@code.launchpad.net

Commit Message

Export the platform API backend, required for example for the location service

Description of the Change

https://errors.ubuntu.com/problem/375ff448c30eaac105e835eda789b285b14bf025 shows a frequent crash in indicator-location, which happens on both u7 and u8.

platform-api also consults this environment variable, so let's set it in unity8 desktop sessions.

To post a comment you must log in.
Iain Lane (laney) wrote :

Please check I got the names right

Stephen M. Webb (bregma) wrote :

Looks OK from the point of view of the desktop session, assuming it won't invoke bad behaviour in newer versions of the platform API.

review: Approve
Ricardo Mendoza (ricmm) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/lightdm-unity8-session'
2--- data/lightdm-unity8-session 2014-10-02 14:40:40 +0000
3+++ data/lightdm-unity8-session 2015-03-06 12:43:28 +0000
4@@ -7,6 +7,7 @@
5 if test -z "$DISPLAY" && [ $DESKTOP_SESSION != "unity8-lxc" ]; then
6 export QT_QPA_PLATFORM=ubuntumirclient
7 export UNITY_INDICATOR_PROFILE=desktop
8+ export UBUNTU_PLATFORM_API_BACKEND=desktop_mirclient
9 exec init --user
10 else
11 exec /usr/sbin/lightdm-session "$@"

Subscribers

People subscribed via source and target branches