Add removable-media interface plug declaration to the snap packaging(#1618) (#1619)

Allow snap users to process YAML documents under /media or /mnt paths after connecting to the `removable-media` snapd slot:

```
sudo snap connect yq :removable-media
```

Fixes #1618.
This commit is contained in:
林博仁(Buo-ren, Lin) 2023-03-29 06:22:25 +08:00 committed by GitHub
parent 8d516ce535
commit 311622d14b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ confinement: strict
apps:
yq:
command: yq
plugs: [home]
plugs: [home, removable-media]
parts:
yq:
plugin: go