Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support custom layouts to snap yaml #145

Open
VerteDinde opened this issue Mar 31, 2022 · 1 comment
Open

[Feature] Support custom layouts to snap yaml #145

VerteDinde opened this issue Mar 31, 2022 · 1 comment
Assignees

Comments

@VerteDinde
Copy link
Collaborator

Layouts are a feature for strictly confined snaps that modify the execution environment.

With layouts, you can make elements in $SNAP, $SNAP_DATA, $SNAP_COMMON accessible from locations such as /usr, /var and /etc. This helps when using pre-compiled binaries and libraries that expect to find files and directories outside of locations referenced by $SNAP or $SNAP_DATA.

Given our existing support for custom plugs and slots, we can use a similar framework to optionally add layouts if they are provided by the user. Layouts do not need to be included by default.

Layouts are only supported on core18 and higher.

@welcome
Copy link

welcome bot commented Mar 31, 2022

👋 Thanks for opening your first issue here! If you have a question about using electron-installer-snap, read the support docs. If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can.

To help make it easier for us to investigate your issue, please follow the contributing guidelines.

@VerteDinde VerteDinde self-assigned this Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant