package/systemd: add optional support for logind

Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gabe Evans 2016-07-01 23:51:07 +02:00 committed by Thomas Petazzoni
parent ac14889813
commit 61bb79192c
2 changed files with 13 additions and 0 deletions

View File

@ -185,6 +185,13 @@ config BR2_PACKAGE_SYSTEMD_RFKILL
http://www.freedesktop.org/software/systemd/man/systemd-rfkill@.service.html
config BR2_PACKAGE_SYSTEMD_LOGIND
bool "enable login daemon"
help
systemd-logind is a system service that manages user logins.
http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html
config BR2_PACKAGE_SYSTEMD_NETWORKD
bool "enable network manager"
help

View File

@ -195,6 +195,12 @@ else
SYSTEMD_CONF_OPTS += --disable-rfkill
endif
ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y)
SYSTEMD_CONF_OPTS += --enable-logind
else
SYSTEMD_CONF_OPTS += --disable-logind
endif
ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y)
SYSTEMD_CONF_OPTS += --enable-networkd
define SYSTEMD_INSTALL_RESOLVCONF_HOOK