Commit 95c914fa authored by Eric Le Bihan's avatar Eric Le Bihan Committed by Thomas Petazzoni
Browse files

dbus: enable systemd support



Enable systemd support if systemd is selected as init system (require
systemd compatibility libraries).

Signed-off-by: default avatarEric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 64b38f03
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ config BR2_PACKAGE_DBUS
	# uses fork()
	depends on BR2_USE_MMU
	select BR2_PACKAGE_EXPAT
	select BR2_PACKAGE_SYSTEMD_COMPAT if BR2_INIT_SYSTEMD
	help
	  The D-Bus message bus system.

+7 −2
Original line number Diff line number Diff line
@@ -50,8 +50,13 @@ else
DBUS_CONF_OPT += --without-x
endif

ifeq ($(BR2_PACKAGE_SYSTEMD),y)
DBUS_CONF_OPT += --with-systemdsystemunitdir=/lib/systemd/system
ifeq ($(BR2_INIT_SYSTEMD),y)
DBUS_CONF_OPT += \
	--enable-systemd \
	--with-systemdsystemunitdir=/lib/systemd/system
DBUS_DEPENDENCIES += systemd
else
DBUS_CONF_OPT += --disable-systemd
endif

# fix rebuild (dbus makefile errors out if /var/lib/dbus is a symlink)