Browse Source

Fix arch tuple

Joachim M. Giæver 2 years ago
parent
commit
79dea30c14
1 changed files with 2 additions and 2 deletions
  1. 2 2
      snap/snapcraft.yaml

+ 2 - 2
snap/snapcraft.yaml

@@ -29,7 +29,7 @@ architectures:
   - build-on: amd64
   - build-on: arm64
   - build-on: armhf
-  - build-on: ppc64el
+  #- build-on: ppc64el
 
 slots:
   bin:
@@ -61,6 +61,6 @@ parts:
       - linux-libc-dev
     override-stage: |
       snapcraftctl stage
-      sed -i 's#/usr/lib#/snap/home-assistant-snap/current/shared-bin/usr/lib#g' ${SNAPCRAFT_STAGE}/usr/lib/x86_64-linux-gnu/libc.so
+      sed -i 's#/usr/lib#/snap/home-assistant-snap/current/shared-bin/usr/lib#g' ${SNAPCRAFT_STAGE}/usr/lib/${SNAPCRAFT_ARCH_TRIPLET}/libc.so
     # organize:
     #   '*': shared-bin