diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 23bcc64a8..fe0e68f1e 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -134,6 +134,8 @@ parts: - PIP_USE_PEP517: "true" - PKG_CONFIG_PATH: "/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pkgconfig" override-build: | + dpkg --add-architecture "armhf" + apt-get update python3 -m venv "${CRAFT_PART_INSTALL}" "${CRAFT_PART_INSTALL}/bin/python3" "${CRAFT_PART_SRC}/tools/pipstrap.py" craftctl default