From: Gabe Evans Date: Fri, 1 Jul 2016 21:51:02 +0000 (+0200) Subject: package/systemd: add optional support for sysusers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbb4d119da6b3586ee5fbcaee7bc0a9921bb7606;p=buildroot.git package/systemd: add optional support for sysusers 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 df1a428940..20b4e28068 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -142,6 +142,14 @@ config BR2_PACKAGE_SYSTEMD_TMPFILES http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html +config BR2_PACKAGE_SYSTEMD_SYSUSERS + bool "enable sysusers support" + help + systemd-sysusers creates system users and groups, based on + the file format and location specified in sysusers.d(5). + + http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 779d7c51e1..0520ced4c6 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -165,6 +165,12 @@ else SYSTEMD_CONF_OPTS += --disable-tmpfiles endif +ifeq ($(BR2_PACKAGE_SYSTEMD_SYSUSERS),y) +SYSTEMD_CONF_OPTS += --enable-sysusers +else +SYSTEMD_CONF_OPTS += --disable-sysusers +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK