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

Install script does not temporarily prevent system suspend #929

Open
xezrunner opened this issue May 4, 2024 · 1 comment
Open

Install script does not temporarily prevent system suspend #929

xezrunner opened this issue May 4, 2024 · 1 comment

Comments

@xezrunner
Copy link

When using install.sh install, on systems where the compilation process takes longer than the configured suspend timeout, the system will enter sleep mode, pausing (and potentially breaking) the compilation process.

In my case, the compilation successfully continued without errors, but I doubt this is guaranteed in every scenario or during any other step of the script.

@AdelKS
Copy link
Collaborator

AdelKS commented May 4, 2024

Hello. Thanks for bringing this up, a little googling made me discover systemd-inhibit. For now, anyone affected can simply use systemd-inhibit ./install.sh install and should be fine. Since it's a one-liner, we may embed it in the near future.

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

No branches or pull requests

2 participants