From 1fa84fe51e1246f80cd5bafb756300b70516c2d5 Mon Sep 17 00:00:00 2001 From: Mengyi Wang Date: Mon, 17 Oct 2022 09:27:58 +0200 Subject: [PATCH] feat(snap): add config interface with unique identifier Signed-off-by: Mengyi Wang --- snap/snapcraft.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index e3f614bb..9170f5ea 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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 @@ -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