ubuntu-sdk-team team mailing list archive
-
ubuntu-sdk-team team
-
Mailing list archive
-
Message #00086
[Merge] lp:~kalikiana/ubuntu-sdk-ide/lxdfixes into lp:ubuntu-sdk-ide
Christian Dywan has proposed merging lp:~kalikiana/ubuntu-sdk-ide/lxdfixes into lp:ubuntu-sdk-ide.
Commit message:
Add dpkg and pkexec drop-in fake replacements
Requested reviews:
Ubuntu SDK team (ubuntu-sdk-team)
Related bugs:
Bug #1598095 in Ubuntu SDK IDE: "Create snap package for Ubuntu SDK with emulator"
https://bugs.launchpad.net/ubuntu-sdk-ide/+bug/1598095
For more details, see:
https://code.launchpad.net/~kalikiana/ubuntu-sdk-ide/lxdfixes/+merge/313436
--
Your team Ubuntu SDK team is requested to review the proposed merge of lp:~kalikiana/ubuntu-sdk-ide/lxdfixes into lp:ubuntu-sdk-ide.
=== added file 'dpkg'
--- dpkg 1970-01-01 00:00:00 +0000
+++ dpkg 2016-12-16 14:39:46 +0000
@@ -0,0 +1,2 @@
+#!/bin/sh
+echo $SNAP_ARCH
=== added file 'pkexec'
--- pkexec 1970-01-01 00:00:00 +0000
+++ pkexec 2016-12-16 14:39:46 +0000
@@ -0,0 +1,3 @@
+#!/bin/sh
+echo Ignoring super-user priviledges: $*
+exec $*
=== modified file 'snapcraft.yaml'
--- snapcraft.yaml 2016-09-07 08:55:57 +0000
+++ snapcraft.yaml 2016-12-16 14:39:46 +0000
@@ -1,5 +1,5 @@
name: ubuntu-sdk-ide
-version: "0"
+version: "4.1"
summary: Integrated Development Environment for Ubuntu Touch
description: |
Qt Creator is a lightweight, cross-platform integrated development environment (IDE) designed to make
@@ -7,12 +7,13 @@
This package contains the Qt Creator and the Ubuntu plugins providing deeper integration for developing
applications for Ubuntu using the Ubuntu UI Toolkit. It also introduces an Ubuntu themed welcome screen.
-confinement: devmode
+confinement: strict
+grade: devel
apps:
ubuntu-sdk-ide:
- command: desktop-launch $SNAP/usr/ubuntu-sdk-ide/bin/qtcreator.sh -noload Ubuntu
- plugs: [unity7, opengl, network-bind]
+ command: desktop-launch $SNAP/usr/ubuntu-sdk-ide/bin/qtcreator.sh
+ plugs: [unity7, opengl, pulseaudio, network-bind, network, home, removable-media, lxd]
parts:
ubuntu-sdk-ide:
@@ -21,3 +22,24 @@
- ubuntu-sdk-ide
# https://wiki.ubuntu.com/snapcraft/parts
after: [desktop-glib-only]
+ organize:
+ usr/bin/usdk-target: usr/bin/usdk-target.upstream
+ usdk-target:
+ source: lp:~kalikiana/ubuntu-sdk-tools/lxd-snap
+ plugin: go
+ go-importpath: launchpad.net/ubuntu-sdk-tools
+ go-packages:
+ - launchpad.net/ubuntu-sdk-tools/usdk-target
+ build-packages: [bzr, gcc]
+ after: [ubuntu-sdk-ide]
+ # Drop-in fake replacements for tools that don't exist in core
+ stubs:
+ plugin: dump
+ source: .
+ after: [ubuntu-sdk-ide]
+ organize:
+ dpkg: bin/dpkg
+ pkexec: bin/pkexec
+ snap:
+ - bin
+
Follow ups