[neon/snap-packaging/kf6-core/work.core24] /: Another attempt at caches

Scarlett Moore null at kde.org
Tue Apr 29 12:52:42 BST 2025


Git commit 39df094c49db2df38f056c0223cc79f036344100 by Scarlett Moore.
Committed on 29/04/2025 at 11:52.
Pushed by scarlettmoore into branch 'work.core24'.

Another attempt at caches

M  +1    -2    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kf6-core/-/commit/39df094c49db2df38f056c0223cc79f036344100

diff --git a/snapcraft.yaml b/snapcraft.yaml
index df92d86..88fb133 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -249,12 +249,11 @@ parts:
       - shared-mime-info
     build-environment: *buildenvironment
     stage:
-      - usr/bin/glib-compile-schemas
       - usr/bin/update-mime-database
     override-stage: |
       set -eux
       craftctl default
-      glib-compile-schemas $CRAFT_STAGE/usr/share/glib-2.0/schemas
+      glib-compile-schemas $CRAFT_PRIME/usr/share/glib-2.0/schemas
       update-mime-database $CRAFT_STAGE/usr/share/mime
 
       # the icons cache is rebuilt in 'cleanup' priming because it is there where the duplicated icons are removed


More information about the Neon-commits mailing list