Crafting¶
This section contains guides for putting together your snap and managing its contents.
Basic configuration¶
The essential elements in a snap are the package information, base, and platforms.
Software dependencies¶
Much of the work of making a snap is in determining and adding its dependencies.
User settings and data¶
You can make snap settings available to users, and control its data retention on the user’s machine between versions.
Confinement¶
If your snap needs to make its files available to the host, or it needs less restrictive permissions with the host, you can extend access with layouts and the confinement level.
Data contents¶
Snaps can package plain assets.
Process overrides¶
If you need to manually manipulate a part’s files and data during processing, you can override the lifecycle steps. To speed up the build, you can cache packages downloaded with APT.