Merge pull request #2939 from casperdcl/snap

snap: remove plugs (incompatible with classic)
This commit is contained in:
Ruslan Kuprieiev
2019-12-11 20:04:51 +02:00
committed by GitHub
-18
View File
@@ -6,13 +6,6 @@ grade: stable
confinement: classic # for same reasons as snap `git-ubuntu`
base: core18
license: Apache-2.0
plugs:
config-dvc:
interface: system-files
read:
- /etc/host.conf
- /etc/resolv.conf
- /etc/hosts
layout:
/etc/dvc:
bind: $SNAP_DATA/etc/dvc
@@ -48,18 +41,7 @@ apps:
environment:
GIT_PYTHON_GIT_EXECUTABLE: $SNAP/usr/bin/git
XDG_CONFIG_DIRS: /etc
plugs:
- config-dvc
- home
- mount-observe
- network-control
- removable-media
git:
command: usr/bin/git
environment:
GIT_DISCOVERY_ACROSS_FILESYSTEM: 1
plugs:
- home
- mount-observe
- network-control
- removable-media