Browse Source

Add slot for ozwadmin

Joachim M. Giæver 3 years ago
parent
commit
38f8f86253
1 changed files with 10 additions and 4 deletions
  1. 10 4
      snap/snapcraft.yaml

+ 10 - 4
snap/snapcraft.yaml

@@ -21,10 +21,6 @@ description: |
 grade: stable
 confinement: strict
 
-layout:
-  /usr/local/share/OpenZWave/qt-openzwavedatabase.rcc:
-    bind-file: $SNAP/usr/share/qt5/qt-openzwavedatabase.rcc 
-
 apps:
   ozwdaemon:
     daemon: simple
@@ -50,6 +46,16 @@ apps:
       - network
       - network-bind
       - raw-usb
+layout:
+  /usr/local/share/OpenZWave/qt-openzwavedatabase.rcc:
+    bind-file: $SNAP/usr/share/qt5/qt-openzwavedatabase.rcc 
+
+slots:
+  qt-ozw-lib:
+    interface: content
+    content: qt-ozw-lib
+    read: 
+      - $SNAP/usr/lib
 
 parts:
   open-zwave: