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

Debian packaging installs udev rules in /usr/lib, but they should be in /lib. #75

Closed
CameronNemo opened this issue Sep 24, 2018 · 5 comments
Closed

Comments

@CameronNemo
Copy link

@CameronNemo CameronNemo commented Sep 24, 2018

Please consider adding an option to override the udev rules directory.

See here for an example.

@troglobit
Copy link
Contributor

@troglobit troglobit commented Sep 24, 2018

We'll look into it for the next release cycle, thanks!

@sim590
Copy link
Contributor

@sim590 sim590 commented Jan 11, 2019

Is there a version where this problem doesn't occur? Because the program cannot be run without sudo otherwise. Thanks.

Actually, I'm not sure what's my issue. I thougt that was it, but after running

sed -i 's,--with-udev,--with-udev=/lib' $LIGHT_DIR/debian/rules
make deb
sudo apt install ../light_1.2_amd64.deb

EDIT1

The file /sys/class/backlight/intel_backlight/brightness is still not having video as group ownership. Even when restarting my computer, it didn't help... :/

Possibly, I'm misunderstanding udev.

EDIT2

I found out. I had to use --with-udev=/lib/udev/rules.d. That makes sense. This is consistent with ./configure --help. I guess I was misled by this issue's title.

@sim590
Copy link
Contributor

@sim590 sim590 commented Jan 12, 2019

I've made a pull request. I mentionned that it fixes this issue in case that is indeed sufficient. Advise me if it is otherwise.

@haikarainen
Copy link
Owner

@haikarainen haikarainen commented Jan 12, 2019

Thank you for your contribution @sim590 !

@sim590
Copy link
Contributor

@sim590 sim590 commented Jan 14, 2019

All the pleasure is mine! 💃

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

Successfully merging a pull request may close this issue.

None yet
4 participants