Skip to content

Commit d1f2746

Browse files
authored
fix(snap): fix build on 32-bit platforms (canonical#2173)
This should only affect armhf, so it's good if this build succeeds: https://launchpad.net/~lengau/lengau-craft-remote-build/+snap/snapcraft-charmcraft-65ef4d96be7404bf850a3e56b29033fa/+build/2726730
1 parent ca5e93c commit d1f2746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ parts:
152152
uv sync --no-dev --no-editable --no-binary
153153
. $CRAFT_PART_INSTALL/bin/activate
154154
uv pip install -r requirements-jammy.txt
155-
rm $CRAFT_PART_INSTALL/lib64
155+
rm -f $CRAFT_PART_INSTALL/lib64
156156
157157
mkdir -p $CRAFT_PART_INSTALL/libexec/charmcraft
158158
sed -i 's|#!/bin/sh|#!/snap/charmcraft/current/bin/python3|' $CRAFT_PART_INSTALL/bin/craftctl

0 commit comments

Comments
 (0)