From: Gabe Evans Date: Fri, 1 Jul 2016 21:51:07 +0000 (+0200) Subject: package/systemd: add optional support for logind X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61bb79192cce7cf76a83c0f5217c73c0893f565c;p=buildroot.git package/systemd: add optional support for logind Signed-off-by: Gabe Evans Signed-off-by: Maxime Hadjinlian Signed-off-by: Thomas Petazzoni --- diff --git a/package/systemd/Config.in b/package/systemd/Config.in index c3a1d004e4..c2499e6713 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -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 diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index edd72c109e..93b56fc342 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -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