mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
dbus: enable systemd support
Enable systemd support if systemd is selected as init system (require systemd compatibility libraries). Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
64b38f03a7
commit
95c914fae8
@ -4,6 +4,7 @@ config BR2_PACKAGE_DBUS
|
|||||||
# uses fork()
|
# uses fork()
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
select BR2_PACKAGE_EXPAT
|
select BR2_PACKAGE_EXPAT
|
||||||
|
select BR2_PACKAGE_SYSTEMD_COMPAT if BR2_INIT_SYSTEMD
|
||||||
help
|
help
|
||||||
The D-Bus message bus system.
|
The D-Bus message bus system.
|
||||||
|
|
||||||
|
@ -50,8 +50,13 @@ else
|
|||||||
DBUS_CONF_OPT += --without-x
|
DBUS_CONF_OPT += --without-x
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
||||||
DBUS_CONF_OPT += --with-systemdsystemunitdir=/lib/systemd/system
|
DBUS_CONF_OPT += \
|
||||||
|
--enable-systemd \
|
||||||
|
--with-systemdsystemunitdir=/lib/systemd/system
|
||||||
|
DBUS_DEPENDENCIES += systemd
|
||||||
|
else
|
||||||
|
DBUS_CONF_OPT += --disable-systemd
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# fix rebuild (dbus makefile errors out if /var/lib/dbus is a symlink)
|
# fix rebuild (dbus makefile errors out if /var/lib/dbus is a symlink)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user