[neon/snap-packaging/kde-qt6-core-sdk/work.core24] /: only clean up in the prime stage

Carlos De Maine null at kde.org
Sat Feb 14 08:10:15 GMT 2026


Git commit 19b085d019482c826310a87d800dba1ca41d6e18 by Carlos De Maine.
Committed on 14/02/2026 at 08:10.
Pushed by carlosdem into branch 'work.core24'.

only clean up in the prime stage

M  +3    -6    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/commit/19b085d019482c826310a87d800dba1ca41d6e18

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 41a9061..44a4e45 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -387,6 +387,7 @@ parts:
       - bison
       - clang-18
       - default-libmysqlclient-dev
+      - duktape
       - duktape-dev
       - firebird-dev
       - flex
@@ -611,12 +612,8 @@ parts:
     build-snaps:
       - core24
       - ffmpeg-2404-sdk
-    override-stage: |
-      set -eux
-      for snap in "core24" "ffmpeg-2404-sdk"; do
-        cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$CRAFT_PRIME/{}" \;
-      done
-      # taken from https://github.com/ubuntu/gnome-recipes/blob/stable/snapcraft.yaml
+    # taken from https://gitlab.liu.se/irt/autopsy/-/blob/master/snap/snapcraft.yaml which had
+    # taken from https://github.com/ubuntu/gnome-recipes/blob/stable/snapcraft.yaml to clean out files present in core/extensions as well.
     override-prime: |
       set -eux
       for snap in "core24" "ffmpeg-2404-sdk"; do


More information about the Neon-commits mailing list