From f1120e334af1f8a67e8ae2343053b1298c956f3f Mon Sep 17 00:00:00 2001 From: Hook25 Date: Fri, 26 Apr 2024 16:04:41 +0200 Subject: [PATCH] Updated hack workaroud logging found and without envvar --- checkbox-core-snap/series24/snap/snapcraft.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/checkbox-core-snap/series24/snap/snapcraft.yaml b/checkbox-core-snap/series24/snap/snapcraft.yaml index d13d3d7bf..317e2b191 100644 --- a/checkbox-core-snap/series24/snap/snapcraft.yaml +++ b/checkbox-core-snap/series24/snap/snapcraft.yaml @@ -226,13 +226,12 @@ parts: # cleaning this bit should not cause any issue but if it does do not only remove this line # contact also the store/update the package because else this will always trigger # a manual review - export LIBAMDHIP64=$(find usr/lib -name "libamdhip64.so.5*") - for libamd_path in $LIBAMDHIP64; do - execstack --clear-execstack "$libamd_path" - done + for libamd_path in $(find .. -name "libamdhip64.so.5*"); do + echo "Clearing execstack on $libamd_path"; + execstack --clear-execstack "$libamd_path" || exit 1 + done; craftctl default stage-packages: - - execstack # needed to clear the execstack - python3-opencv - bc - bonnie++ @@ -309,6 +308,7 @@ parts: - on arm64: - python3-rpi.gpio # only in focal build-packages: + - execstack # needed to clear the execstack - libasound2-dev - libcap-dev organize: