python-validity
python-validity copied to clipboard
Void linux / non systemd support
Please add support for non systemd linux distros!
Yes, please!
Bump
Bump!
To add something a bit more constructive, it seems like the fprintd-clients's dependency of systemd-libs is the reason why this doesn't support distro's like Artix/Void Linux.
I got it to work
The steps that worked for me was:
- Manually clone the repo to
/opt/python-validity- Go to the repo and run
python setup.py install --prefix=/usr
- Go to the repo and run
- Get the PKGBUILD of open-fprintd
- Remove
fprintd-clients(line 9) from the dependencies. - Run
makepkg -siand let it install the "open-fprintd" package. - Write an init script for your init of your choice, in my case it was OpenRC:
- Filename: open-fprintd
#!/usr/bin/openrc-run
supervisor=supervise-daemon
command="env PYTHONPATH=/opt/python-validity /opt/python-validity/dbus_service/dbus-service"
command_args=""
pidfile=
name="open-fprintd"
description="Open FPrint Daemon"
- (This is very rough so please tell me the proper stuff to fix my init script file.)
- Place the init file in
/etc/init.dandchmod +xit - Install fprintd (
pacman -S fprintd) - Start the init file you just made using
rc-service open-fprintd start - If it works, add it to your default init runlevel
rc-update add open-fprintd - Run
fprintd-enrolland hope it works :)
Everything should be done as root with some obvious exceptions.