瀏覽代碼

Merge branch 'master' of github.com:home-assistant-snap/home-assistant-snap

Joachim M. Giæver 2 年之前
父節點
當前提交
598af33640
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      snap/snapcraft.yaml

+ 10 - 0
snap/snapcraft.yaml

@@ -121,6 +121,7 @@ apps:
   home-assistant-snap:
     command: bin/hass --config $SNAP_DATA
     command-chain:
+      - bin/snapcraft-preload
       - bin/plug-bin
     daemon: simple
     environment:
@@ -155,6 +156,15 @@ apps:
 #    ppa: deadsnakes/ppa
 
 parts:
+  snapcraft-preload:
+    source: https://github.com/sergiusens/snapcraft-preload.git
+    plugin: cmake
+    cmake-parameters:
+      - -DCMAKE_INSTALL_PREFIX=/
+    build-packages:
+      - on amd64:
+        - gcc-multilib
+        - g++-multilib
   python:
     plugin: autotools
     source: https://www.python.org/ftp/python/3.9.12/Python-3.9.12.tgz