summaryrefslogtreecommitdiffstats
path: root/rules/dbus.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-03-08 12:41:10 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-03-11 08:12:42 +0100
commit749bb41ad13e3751e78afa6670e8d97897e0d9bc (patch)
treee04f01b8921ec40dc90e18d9cb0dec3e859cb851 /rules/dbus.make
parent8108799e9f00744693c31ea1948b5dadd4e4ad75 (diff)
downloadptxdist-749bb41ad13e3751e78afa6670e8d97897e0d9bc.tar.gz
ptxdist-749bb41ad13e3751e78afa6670e8d97897e0d9bc.tar.xz
dbus: install systemd user units
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/dbus.make')
-rw-r--r--rules/dbus.make9
1 files changed, 9 insertions, 0 deletions
diff --git a/rules/dbus.make b/rules/dbus.make
index ca0e07a08..1458df957 100644
--- a/rules/dbus.make
+++ b/rules/dbus.make
@@ -146,6 +146,15 @@ ifdef PTXCONF_DBUS_SYSTEMD_UNIT
@$(call install_link, dbus, ../dbus.service, \
/usr/lib/systemd/system/multi-user.target.wants/dbus.service)
endif
+ifdef PTXCONF_DBUS_SYSTEMD_USER_UNIT
+ @$(call install_copy, dbus, 0, 0, 0644, -, \
+ /usr/lib/systemd/user/dbus.socket)
+ @$(call install_link, dbus, ../dbus.socket, \
+ /usr/lib/systemd/user/sockets.target.wants/dbus.socket)
+ @$(call install_copy, dbus, 0, 0, 0644, -, \
+ /usr/lib/systemd/user/dbus.service)
+endif
+
@$(call install_finish, dbus)
@$(call touch)