summaryrefslogtreecommitdiffstats
path: root/package/systemd
diff options
context:
space:
mode:
authorGabe Evans <gabe@hashrabbit.co>2016-07-01 23:51:02 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-02 12:27:47 +0200
commitfbb4d119da6b3586ee5fbcaee7bc0a9921bb7606 (patch)
treed1db483de38e596e752c5b1e18d5a94864b21641 /package/systemd
parent868de4fc4c885dab23a658690e25b7eeef8605f5 (diff)
downloadbuildroot-fbb4d119da6b3586ee5fbcaee7bc0a9921bb7606.tar.gz
buildroot-fbb4d119da6b3586ee5fbcaee7bc0a9921bb7606.zip
package/systemd: add optional support for sysusers
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>
Diffstat (limited to 'package/systemd')
-rw-r--r--package/systemd/Config.in8
-rw-r--r--package/systemd/systemd.mk6
2 files changed, 14 insertions, 0 deletions
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
OpenPOWER on IntegriCloud