0001-Allow-using-obexd-without-systemd-in-the-user-session-r4.patch 611 B

123456789101112131415161718192021
  1. --- a/Makefile.obexd
  2. +++ b/Makefile.obexd
  3. @@ -4,15 +4,14 @@
  4. if SYSTEMD
  5. systemduserunit_DATA += obexd/src/obex.service
  6. -dbussessionbusdir = $(DBUS_SESSIONBUSDIR)
  7. -dbussessionbus_DATA = obexd/src/org.bluez.obex.service
  8. -
  9. obexd-add-service-symlink:
  10. $(LN_S) -f obex.service $(DESTDIR)$(SYSTEMD_USERUNITDIR)/dbus-org.bluez.obex.service
  11. obexd-remove-service-symlink:
  12. rm -f $(DESTDIR)$(SYSTEMD_USERUNITDIR)/dbus-org.bluez.obex.service
  13. else
  14. +dbussessionbusdir = $(DBUS_SESSIONBUSDIR)
  15. +dbussessionbus_DATA = obexd/src/org.bluez.obex.service
  16. obexd-add-service-symlink:
  17. obexd-remove-service-symlink:
  18. endif