feat(packaging): install dbus, polkit, systemd assets into authforge-daemon

This commit is contained in:
michael
2026-04-26 20:42:02 -07:00
parent aeebfd0f40
commit 0a6cbe0e1d

12
debian/rules vendored
View File

@@ -25,6 +25,18 @@ override_dh_auto_install:
debian/authforge-gui/usr/share/icons/hicolor/scalable/apps/io.dangerousthings.AuthForge.svg
# PAM
$(MAKE) -C pam install DESTDIR=$(CURDIR)/debian/authforge-pam
# D-Bus activation file
install -D -m 0644 debian/io.dangerousthings.AuthForge.service \
debian/authforge-daemon/usr/share/dbus-1/system-services/io.dangerousthings.AuthForge.service
# D-Bus system policy
install -D -m 0644 debian/io.dangerousthings.AuthForge.conf \
debian/authforge-daemon/usr/share/dbus-1/system.d/io.dangerousthings.AuthForge.conf
# polkit actions
install -D -m 0644 debian/io.dangerousthings.AuthForge.policy \
debian/authforge-daemon/usr/share/polkit-1/actions/io.dangerousthings.AuthForge.policy
# systemd unit (dh_installsystemd will enable it)
install -D -m 0644 debian/authforge-daemon.service \
debian/authforge-daemon/lib/systemd/system/authforge-daemon.service
override_dh_auto_test:
cargo test --workspace --release