summaryrefslogtreecommitdiffstats
path: root/sysusers.d
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2014-11-28 15:59:59 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-01 05:50:19 +0100
commit5a16bc264c32237e38a844d55e7a1820a31b8440 (patch)
tree0f259cac8dcc873dff16ea25f8c6e9f7b7dc6889 /sysusers.d
parentman: BusName= is not optional for Type!=bus (diff)
downloadsystemd-5a16bc264c32237e38a844d55e7a1820a31b8440.tar.xz
systemd-5a16bc264c32237e38a844d55e7a1820a31b8440.zip
build-sys: configure the list of system users, files and directories
Choose which system users defined in sysusers.d/systemd.conf and files or directories in tmpfiles.d/systemd.conf, should be provided depending on comile-time configuration.
Diffstat (limited to 'sysusers.d')
-rw-r--r--sysusers.d/.gitignore1
-rw-r--r--sysusers.d/systemd.conf.m4 (renamed from sysusers.d/systemd.conf)8
2 files changed, 9 insertions, 0 deletions
diff --git a/sysusers.d/.gitignore b/sysusers.d/.gitignore
index f7957a9889..bb3aaaf821 100644
--- a/sysusers.d/.gitignore
+++ b/sysusers.d/.gitignore
@@ -1 +1,2 @@
/basic.conf
+/systemd.conf
diff --git a/sysusers.d/systemd.conf b/sysusers.d/systemd.conf.m4
index 95437b8544..23175de1f5 100644
--- a/sysusers.d/systemd.conf
+++ b/sysusers.d/systemd.conf.m4
@@ -6,7 +6,15 @@
# (at your option) any later version.
g systemd-journal - -
+m4_ifdef(`ENABLE_KDBUS',
u systemd-bus-proxy - "systemd Bus Proxy"
+)m4_dnl
+m4_ifdef(`ENABLE_NETWORKD',
u systemd-network - "systemd Network Management"
+)m4_dnl
+m4_ifdef(`ENABLE_RESOLVED',
u systemd-resolve - "systemd Resolver"
+)m4_dnl
+m4_ifdef(`ENABLE_TIMESYNCD',
u systemd-timesync - "systemd Time Synchronization"
+)m4_dnl