Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(snap): add config interface with unique identifier #114

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ slots:
source:
write: [$SNAP_DATA/device-rfid-llrp]

plugs:
device-rfid-llrp-config:
interface: content
target: $SNAP_DATA/config/device-rfid-llrp

# deprecated
device-config:
interface: content
target: $SNAP_DATA/config/device-rfid-llrp

apps:
auto-configure:
adapter: none
Expand Down Expand Up @@ -50,11 +60,6 @@ apps:
install-mode: disable
plugs: [network, network-bind]

plugs:
device-config:
interface: content
target: $SNAP_DATA/config/device-rfid-llrp

parts:
helper-go:
source: snap/local/helper-go
Expand Down