snap: add the removable-media plug (#10377)

This interface allows the snap to access the directories in /media. This is needed when the storage is in a separate disk, not part of home.
This commit is contained in:
Leo Arias 2019-02-20 02:49:54 -06:00 committed by 5chdn
parent ca67dc251f
commit b4520c5886

View File

@ -14,20 +14,20 @@ description: |
apps: apps:
parity: parity:
command: parity command: parity
plugs: [home, network, network-bind, mount-observe, x11, unity7, desktop, desktop-legacy, wayland] plugs: [home, network, network-bind, mount-observe, removable-media, x11, unity7, desktop, desktop-legacy, wayland]
desktop: ./usr/share/applications/parity.desktop desktop: ./usr/share/applications/parity.desktop
parity-evm: parity-evm:
command: parity-evm command: parity-evm
plugs: [home, network, network-bind] plugs: [home, network, network-bind, removable-media]
ethkey: ethkey:
command: ethkey command: ethkey
plugs: [home] plugs: [home, removable-media]
ethstore: ethstore:
command: ethstore command: ethstore
plugs: [home] plugs: [home, removable-media]
whisper: whisper:
command: whisper command: whisper
plugs: [home, network-bind] plugs: [home, network-bind, removable-media]
icon: ./scripts/snap/icon.png icon: ./scripts/snap/icon.png