This commit is contained in:
Greg DiCristofaro 2023-08-02 15:23:11 -04:00
parent 45455f0aea
commit ff60de914a

View File

@ -298,9 +298,16 @@ parts:
after: [autopsy] after: [autopsy]
plugin: nil plugin: nil
# NOTE: this will likely change as gnome extension has new revisions # NOTE: this will likely change as gnome extension has new revisions
build-snaps: [core22, gnome-42-2204] build-snaps: [core22]
override-prime: | override-prime: |
set -eux 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/{}" \; cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$SNAPCRAFT_PRIME/{}" \;
done 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