We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c96f91 commit 96611b6Copy full SHA for 96611b6
1 file changed
snapcraft.yaml
@@ -62,7 +62,15 @@ parts:
62
${CRAFT_PROJECT_DIR}/snap/local/scriptlets/selective-checkout --force-snapshot
63
override-build: |
64
craftctl default
65
- execstack --clear-execstack $SNAPCRAFT_PART_INSTALL/usr/bin/lnav
+ # Get the machine architecture
66
+ ARCH=$(uname -m)
67
+ # Check if the architecture is x86_64 (amd64)
68
+ if [ "$ARCH" = "x86_64" ]; then
69
+ echo "Architecture $ARCH confirmed. Running execstack..."
70
+ execstack --clear-execstack $SNAPCRAFT_PART_INSTALL/usr/bin/lnav
71
+ else
72
+ echo "Skipping: execstack is not supported on $ARCH architecture."
73
+ fi
74
build-packages:
75
- git
76
- curl
0 commit comments