snap: add set of plugs and slots necessary for confinement
This commit is contained in:
parent
60e7dc79c8
commit
120ba1c701
1 changed files with 53 additions and 7 deletions
|
|
@ -16,25 +16,44 @@ grade: devel
|
||||||
architectures: [amd64]
|
architectures: [amd64]
|
||||||
|
|
||||||
slots:
|
slots:
|
||||||
# Depending on in which environment we're running we either need
|
dbus-session-slot:
|
||||||
# to use the system or session DBus so we also need to have one
|
|
||||||
# slot for each.
|
|
||||||
dbus-session:
|
|
||||||
interface: dbus
|
interface: dbus
|
||||||
bus: system
|
bus: session
|
||||||
name: org.anbox
|
name: org.anbox
|
||||||
dbus-system:
|
|
||||||
|
plugs:
|
||||||
|
dbus-session-plug:
|
||||||
interface: dbus
|
interface: dbus
|
||||||
bus: system
|
bus: session
|
||||||
name: org.anbox
|
name: org.anbox
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
anbox:
|
anbox:
|
||||||
command: desktop-launch $SNAP/bin/anbox-wrapper.sh
|
command: desktop-launch $SNAP/bin/anbox-wrapper.sh
|
||||||
|
slots:
|
||||||
|
- dbus-session-slot
|
||||||
|
plugs:
|
||||||
|
- x11
|
||||||
|
- unity7
|
||||||
|
- network
|
||||||
|
- opengl
|
||||||
|
- wayland
|
||||||
|
- pulseaudio
|
||||||
|
- home
|
||||||
|
- process-control
|
||||||
|
- desktop
|
||||||
|
|
||||||
container-manager:
|
container-manager:
|
||||||
command: bin/container-manager.sh start
|
command: bin/container-manager.sh start
|
||||||
stop-command: bin/container-manager.sh stop
|
stop-command: bin/container-manager.sh stop
|
||||||
daemon: simple
|
daemon: simple
|
||||||
|
plugs:
|
||||||
|
- firewall-control
|
||||||
|
- kernel-module-control
|
||||||
|
- mount-observe
|
||||||
|
- network-control
|
||||||
|
- network-bind
|
||||||
|
|
||||||
collect-bug-info:
|
collect-bug-info:
|
||||||
command: bin/collect-bug-info.sh
|
command: bin/collect-bug-info.sh
|
||||||
shell:
|
shell:
|
||||||
|
|
@ -42,9 +61,36 @@ apps:
|
||||||
android-settings:
|
android-settings:
|
||||||
command: desktop-launch $SNAP/bin/app-android-settings.sh
|
command: desktop-launch $SNAP/bin/app-android-settings.sh
|
||||||
desktop: desktop/android-settings.desktop
|
desktop: desktop/android-settings.desktop
|
||||||
|
slots:
|
||||||
|
- dbus-session-slot
|
||||||
|
plugs:
|
||||||
|
- dbus-session-plug
|
||||||
|
- x11
|
||||||
|
- unity7
|
||||||
|
- network
|
||||||
|
- opengl
|
||||||
|
- wayland
|
||||||
|
- pulseaudio
|
||||||
|
- home
|
||||||
|
- process-control
|
||||||
|
- desktop
|
||||||
|
|
||||||
appmgr:
|
appmgr:
|
||||||
command: desktop-launch $SNAP/bin/app-appmgr.sh
|
command: desktop-launch $SNAP/bin/app-appmgr.sh
|
||||||
desktop: desktop/appmgr.desktop
|
desktop: desktop/appmgr.desktop
|
||||||
|
slots:
|
||||||
|
- dbus-session-slot
|
||||||
|
plugs:
|
||||||
|
- dbus-session-plug
|
||||||
|
- x11
|
||||||
|
- unity7
|
||||||
|
- network
|
||||||
|
- opengl
|
||||||
|
- wayland
|
||||||
|
- pulseaudio
|
||||||
|
- home
|
||||||
|
- process-control
|
||||||
|
- desktop
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
android:
|
android:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue