From 98243fc68f8b786fdc7790fc9c0e9e24becee970 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 9 Nov 2021 15:51:39 +0100 Subject: [PATCH] Move snap dependencies to separate parts You can't include dependencies if you use the "stage:" or "prime:" filters as they will also filter the files from your dependencies. This is apparently per design and not a bug... --- snap/snapcraft.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index ffba501e..3549c787 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -23,6 +23,9 @@ parts: - core/**/*.js - vendor/**/*.js - novnc_proxy + + novnc-deps: + plugin: nil stage-packages: - bash @@ -31,6 +34,9 @@ parts: plugin: dump stage: - svc_wrapper.sh + + svc-script-deps: + plugin: nil stage-packages: - bash - jq