Merge lp:~mterry/unity8-desktop-session/mir-libs into lp:unity8-desktop-session

Proposed by Michael Terry
Status: Merged
Approved by: Christopher Townsend
Approved revision: 120
Merged at revision: 120
Proposed branch: lp:~mterry/unity8-desktop-session/mir-libs
Merge into: lp:unity8-desktop-session
Diff against target: 39 lines (+15/-3)
1 file modified
scripts/unity8-snap-install (+15/-3)
To merge this branch: bzr merge lp:~mterry/unity8-desktop-session/mir-libs
Reviewer Review Type Date Requested Status
Christopher Townsend Approve
Review via email: mp+317682@code.launchpad.net

Commit message

Support connecting to mir-libs and unity8 when using unity8-snap-install.

Description of the change

Support connecting to mir-libs and unity8 when using unity8-snap-install.

To post a comment you must log in.
Revision history for this message
Christopher Townsend (townsend) wrote :

Ok, I will just assume this works:)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'scripts/unity8-snap-install'
--- scripts/unity8-snap-install 2016-12-12 14:41:03 +0000
+++ scripts/unity8-snap-install 2017-02-17 20:54:10 +0000
@@ -41,12 +41,25 @@
41}41}
4242
43install_app() {43install_app() {
44 install_snap $@ && \44 install_snap $@ || return
45 echo_cmd $sudo snap connect $1:platform ubuntu-app-platform:platform45
46 # These should be auto-connected, but snapd only does so if you install
47 # things in the right order. In case some existing snaps didn't get the
48 # chance to connect the first time (or the user disconnected them?), let's
49 # do it manually again.
50
51 $sudo snap connect $1:platform ubuntu-app-platform:platform 2>/dev/null
52 $sudo snap connect $1:mir-libs mir-libs:mir-libs 2>/dev/null
53 $sudo snap connect $1:mir unity8-session:mir 2>/dev/null
54 $sudo snap connect $1:unity8 unity8-session:unity8 2>/dev/null
46}55}
4756
57install_snap mir-libs --edge
48install_snap ubuntu-app-platform --edge58install_snap ubuntu-app-platform --edge
4959
60install_snap unity8-session --edge --devmode
61$sudo snap connect unity8-session:mir-libs mir-libs:mir-libs 2>/dev/null
62
50install_app address-book-app --edge --devmode63install_app address-book-app --edge --devmode
51install_app camera-app --edge --devmode64install_app camera-app --edge --devmode
52install_app gallery-app --edge --devmode65install_app gallery-app --edge --devmode
@@ -55,7 +68,6 @@
55install_app ubuntu-clock-app --edge --devmode68install_app ubuntu-clock-app --edge --devmode
56install_app ubuntu-filemanager-app --edge --devmode69install_app ubuntu-filemanager-app --edge --devmode
57install_app ubuntu-terminal-app --edge --devmode70install_app ubuntu-terminal-app --edge --devmode
58install_snap unity8-session --edge --devmode
59install_app webbrowser-app --edge --devmode71install_app webbrowser-app --edge --devmode
6072
61exit 073exit 0

Subscribers

People subscribed via source and target branches