feat(packaging): install dbus, polkit, systemd assets into authforge-daemon
This commit is contained in:
12
debian/rules
vendored
12
debian/rules
vendored
@@ -25,6 +25,18 @@ override_dh_auto_install:
|
|||||||
debian/authforge-gui/usr/share/icons/hicolor/scalable/apps/io.dangerousthings.AuthForge.svg
|
debian/authforge-gui/usr/share/icons/hicolor/scalable/apps/io.dangerousthings.AuthForge.svg
|
||||||
# PAM
|
# PAM
|
||||||
$(MAKE) -C pam install DESTDIR=$(CURDIR)/debian/authforge-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:
|
override_dh_auto_test:
|
||||||
cargo test --workspace --release
|
cargo test --workspace --release
|
||||||
|
|||||||
Reference in New Issue
Block a user