]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Stop statically enabling dbus.socket in dbus.target
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Sat, 7 Nov 2015 12:06:52 +0000 (13:06 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Sat, 7 Nov 2015 12:11:14 +0000 (13:11 +0100)
dbus.target was relevant in early versions of systemd, but is not
used or installed any more. We also enable the socket in sockets.target,
which is the right place to do this sort of thing.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=78412
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757913
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Lennart Poettering
bus/Makefile.am

index 33af09b0ef891bda83af4a90431f2c9333c273a0..90092b14227cf3b7159bc232ce5ac092b00eaee2 100644 (file)
@@ -249,8 +249,6 @@ if HAVE_SYSTEMD
 # Install dbus.socket as default implementation of a D-Bus stack.
 # Deliberately not using $(LN_S) here: ln -fs is not universally portable,
 # but neither is systemd, so it's OK to assume here that ln complies with SUS.
-       $(mkinstalldirs) $(DESTDIR)$(systemdsystemunitdir)/dbus.target.wants
-       ln -fs ../dbus.socket $(DESTDIR)$(systemdsystemunitdir)/dbus.target.wants/dbus.socket
 # Unconditionally enable D-Bus on systemd installations
        $(mkinstalldirs) $(DESTDIR)$(systemdsystemunitdir)/sockets.target.wants
        ln -fs ../dbus.socket $(DESTDIR)$(systemdsystemunitdir)/sockets.target.wants/dbus.socket