dpkg --add-arch inside override-build

This commit is contained in:
Erica Portnoy 2026-03-25 17:38:39 -07:00
parent d01af8fa38
commit f88e670ea8

View file

@ -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