From ff60de914a67cf5120b149dabde136ddb58bd9d1 Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro <gregd@basistech.com> Date: Wed, 2 Aug 2023 15:23:11 -0400 Subject: [PATCH] attempt --- snap/snapcraft.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index d31774a99b..cd2f23ad78 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -298,9 +298,16 @@ parts: after: [autopsy] plugin: nil # NOTE: this will likely change as gnome extension has new revisions - build-snaps: [core22, gnome-42-2204] + build-snaps: [core22] override-prime: | set -eux - for snap in "core22" "gnome-42-2204"; do + for snap in "core22"; do cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$SNAPCRAFT_PRIME/{}" \; done + # TODO remove if effective + #build-snaps: [core22, gnome-42-2204] + # override-prime: | + # set -eux + # for snap in "core22" "gnome-42-2204"; do + # cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$SNAPCRAFT_PRIME/{}" \; + # done -- GitLab