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...
This commit is contained in:
Pierre Ossman 2021-11-09 15:51:39 +01:00
parent 303e5ef87b
commit 98243fc68f
1 changed files with 6 additions and 0 deletions

View File

@ -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