When in need to be able to use new features of
snapd as soon as they are available, and in fact even before they are available (edge, beta, etc), but has not made it into
snapcraft's validation mechanisms yet there is an option of using the
passthrough attribute in
snapcraft.yaml which has the following properties:
passthrough. One at the top level, and one at the application scope. In points below, these locations are referred to as the target scope.
The format is as follows in way of an example:
name: foo passthrough: confinement: next-generation planet: saturn apps: foo: command: foo passthrough: daemon: complex
This would allow use of the fictional, not yet ready,
planetattribute with a value of
daemonfor the app
Last updated 3 years ago. Help improve this document in the forum.