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

polkit cpupower-gui.rules are not installed #28

Closed
unode opened this issue Oct 11, 2020 · 2 comments
Closed

polkit cpupower-gui.rules are not installed #28

unode opened this issue Oct 11, 2020 · 2 comments

Comments

@unode
Copy link

unode commented Oct 11, 2020

While packaging cpupower-gui for NixOS I had to manually copy the cpupower-gui.rules file from the source directory in order to allow wheel members to modify settings without sudo.
I noticed that this file is not installed. Is this intended behaviour?

@vagnum08
Copy link
Owner

Not exactly. It depends on the distro. Debian still uses PolicyKit, which relies on the .pkla files. Up till now the default was to package these over the rules file, and have rules be copied manually.

I was thinking about it recently, and considering adding a switch in meson to control the behaviour.
Probably I will go with .rules being the default and the switch will be used for Debian and derivatives.

@vagnum08
Copy link
Owner

Tested it on Arch and it works with the default options.
However, I added the install -d ... line as without it the permissions of the folder is 755 instead of 750.

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