summaryrefslogtreecommitdiffstats
path: root/rules/polkit.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/polkit.make')
-rw-r--r--rules/polkit.make5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules/polkit.make b/rules/polkit.make
index 6e7b3eb0a..556c4d67c 100644
--- a/rules/polkit.make
+++ b/rules/polkit.make
@@ -73,6 +73,11 @@ $(STATEDIR)/polkit.targetinstall:
@$(call install_copy, polkit, 0, 0, 0644, -, \
/usr/share/polkit-1/actions/org.freedesktop.policykit.policy)
+ifdef PTXCONF_POLKIT_SYSTEMD
+ @$(call install_copy, polkit, 0, 0, 0644, -, \
+ /usr/lib/systemd/system/polkit.service)
+endif
+
# libs
@$(call install_lib, polkit, 0, 0, 0644, libpolkit-agent-1)
@$(call install_lib, polkit, 0, 0, 0644, libpolkit-backend-1)