I am using snapcraft-desktop-helpers-master to integrate my app into desktop.
I have added "after: [desktop/gtk2]" to app part, but how do i exclude files from this imported part to reduce snap file size like for example removed usr/share/doc
|
I am using snapcraft-desktop-helpers-master to integrate my app into desktop. I have added "after: [desktop/gtk2]" to app part, but how do i exclude files from this imported part to reduce snap file size like for example removed usr/share/doc |
|||
|
|
|
This is pretty simple, you can override specific keywords from a remote defined part by redefining the key for the part. This would look something like this:
The trick here is that Here I used the By running
to read more about this some minimal examples. |
|||||
|
|
You can override the imported snap options by including them as an entry in your snapcraft.yaml's "parts" section. Parts Ecosystem Blog |
|||||
|