Hummer12007/brightnessctl

Udev rules are not creating

Closed this issue · 2 comments

Udev rules are not creating when installing brightnessctl from dnf in Fedora 35. But when I compile manually or install it from apt(I tried in Kubuntu), it does.

xdbob commented

That's expected. The fedora package is using logind for unprivileged operations the build/install process looks like:

$ make ENABLE_SYSTEMD=1
$ [sudo] make install INSTALL_UDEV_RULES=0 ENABLE_SYSTEMD=1 PREFIX=/usr

And if you are on the master branch:

$ ./configure --enable-logind --prefix=/usr
$ make
$ [sudo] make install

That's expected. The fedora package is using logind for unprivileged operations the build/install process looks like:

$ make ENABLE_SYSTEMD=1
$ [sudo] make install INSTALL_UDEV_RULES=0 ENABLE_SYSTEMD=1 PREFIX=/usr

And if you are on the master branch:

$ ./configure --enable-logind --prefix=/usr
$ make
$ [sudo] make install

Yes this works
But if I install it via DNF it doesn't create udev rules; that's what I'm saying
And I saw this in my machine and also on VM