Skip to content

Commit

Permalink
Add removable-media interface plug declaration to the snap packaging(#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
brlin-tw committed Mar 28, 2023
1 parent 8d516ce commit 311622d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
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 311622d

Please sign in to comment.