From 4fe8172eb1d06c118c04b1d2a53adc3362d08b4c Mon Sep 17 00:00:00 2001 From: samwiseg0 <2241731+samwiseg0@users.noreply.github.com> Date: Mon, 18 Jan 2021 00:31:44 -0500 Subject: [PATCH] build(snapcraft): Fix arm build by using py2 (#671) --- snap/snapcraft.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 14f0109f2..b5dd5491a 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -19,10 +19,14 @@ parts: - on arm64: - build-essential - automake + - python-gi + - python-gi-dev - on armhf: - libatomic1 - build-essential - automake + - python-gi + - python-gi-dev source: . override-pull: | snapcraftctl pull @@ -55,10 +59,6 @@ parts: - PATH: "$SNAPCRAFT_PART_BUILD/node_modules/.bin:$SNAPCRAFT_PART_BUILD/../npm/bin:$PATH" override-build: | set -e - # On arm builds "python" cannot be found. Set python to python3 - if [ "$ARCH" != "x86_64" ]; then - npm config set python "$(which python3)" - fi # Set COMMIT_TAG before the build begins export COMMIT_TAG=$(cat $SNAPCRAFT_PART_BUILD/commit.txt) snapcraftctl build