From 61bb79192cce7cf76a83c0f5217c73c0893f565c Mon Sep 17 00:00:00 2001 From: Gabe Evans Date: Fri, 1 Jul 2016 23:51:07 +0200 Subject: [PATCH] package/systemd: add optional support for logind Signed-off-by: Gabe Evans Signed-off-by: Maxime Hadjinlian Signed-off-by: Thomas Petazzoni --- package/systemd/Config.in | 7 +++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 13 insertions(+) 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 -- 2.30.2