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