Skip to content

Commit

Permalink
Add removable-media interface plug declaration to the snap packaging(m…
Browse files Browse the repository at this point in the history
…ikefarah#1618)

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 mikefarah#1618.
  • Loading branch information
brlin-tw committed Mar 27, 2023
1 parent 8d516ce commit f1e5f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Expand Up @@ -9,7 +9,7 @@ confinement: strict
apps:
yq:
command: yq
plugs: [home]
plugs: [home, removable-media]
parts:
yq:
plugin: go
Expand Down

0 comments on commit f1e5f1f

Please sign in to comment.