Skip to content

Commit 6ceedc4

Browse files
committed
[snap] more execstack
1 parent d7ab6af commit 6ceedc4

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

snapcraft.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,7 @@ parts:
6262
${CRAFT_PROJECT_DIR}/snap/local/scriptlets/selective-checkout --force-snapshot
6363
override-build: |
6464
craftctl default
65-
# 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
65+
execstack --clear-execstack $SNAPCRAFT_PART_INSTALL/usr/bin/lnav || true
7466
build-packages:
7567
- git
7668
- curl

0 commit comments

Comments
 (0)