package/dbus-broker: install dbus.socket for session bus
PATCH 1/1 package/dbus-broker: install dbus.socket for session bus
The unit file for the per-user session bus was missing, copy the file from the dbus package and install it.
Signed-off-by Norbert Lange <[email protected]>
--- package/dbus-broker/dbus-broker.mk | 5 +++++ package/dbus-broker/dbus-user.socket | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 package/dbus-broker/dbus-user.socket
package/dbus-broker/dbus-broker.mk +5 -0
@@ -62,8 +62,13 @@ define DBUS_BROKER_INSTALL_INIT_SYSTEMD $(TARGET_DIR)/usr/share/dbus-1/system.conf $(INSTALL) -D -m 0644 $(DBUS_BROKER_PKGDIR)/dbus.socket \ $(TARGET_DIR)/usr/lib/systemd/system/dbus.socket + $(INSTALL) -D -m 0644 $(DBUS_BROKER_PKGDIR)/dbus-user.socket \ + $(TARGET_DIR)/usr/lib/systemd/user/dbus.socket + mkdir -p $(TARGET_DIR)/usr/lib/systemd/user/sockets.target.wants $(HOST_MAKE_ENV) ln -sf ../dbus.socket \ $(TARGET_DIR)/usr/lib/systemd/system/sockets.target.wants/dbus.socket + $(HOST_MAKE_ENV) ln -sf ../dbus.socket \ + $(TARGET_DIR)/usr/lib/systemd/user/sockets.target.wants/dbus.socket endef $(eval $(meson-package))
package/dbus-broker/dbus-user.socket new file +6 -0
@@ -0,0 +1,6 @@ +[Unit] +Description=D-Bus User Message Bus Socket + +[Socket] +ListenStream=%t/bus +ExecStartPost=-/usr/bin/systemctl --user set-environment DBUS_SESSION_BUS_ADDRESS=unix:path=%t/bus
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot