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

modules/decky-loader: Add enableFHSEnvironment option #248

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

pongo1231
Copy link
Contributor

Some plugins ship with a precompiled binary necessitating an FHS env to run them - PowerTools is one such instance where it comes with a compiled backend binary in Rust.

This adds an enableFHSEnvironment option for such cases and conditionally enables a blank FHS environment in the systemd unit. I haven't encountered any issues with other plugins with this turned on.

@K900
Copy link
Contributor

K900 commented Dec 10, 2023

Maybe we should package Decky plugins properly instead? It shouldn't be too difficult.

@pongo1231
Copy link
Contributor Author

pongo1231 commented Dec 10, 2023

Would that also mean the ability to declaratively install plugins? In that case that'd certainly be a cleaner solution, though this approach might still be worthwhile for people who prefer to imperatively install / try out plugins. Unless there are some caveats (which I haven't found).

@Krutonium
Copy link

I'm in camp packaged plugins myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants