summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-12 23:22:27 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-12 23:22:27 +0200
commitf8b5d99408e016ecb3d9bcffcee8c65ef6bc26f6 (patch)
treee73178a8d73b8f2a6768b5fcbdc64c9f62cfd944 /Makefile.am
parent7ec9fb4be987164b1622a4de2c6c96c52bd87b35 (diff)
sysuser: generate default snippet incorporating TTY_GID properly
When the user specifies --with-tty-gid= then we should honour that and write it to the snippet, too.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 733886816c..685066ff48 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1772,9 +1772,12 @@ systemd_sysusers_LDADD = \
rootbin_PROGRAMS += \
systemd-sysusers
-dist_sysusers_DATA = \
+nodist_sysusers_DATA = \
sysusers.d/systemd.conf
+EXTRA_DIST += \
+ sysusers.d/systemd.conf.in
+
INSTALL_DIRS += \
$(sysusersdir)
endif
@@ -4934,7 +4937,8 @@ substitutions = \
'|NTP_SERVERS=$(NTP_SERVERS)|' \
'|DNS_SERVERS=$(DNS_SERVERS)|' \
'|systemuidmax=$(SYSTEM_UID_MAX)|' \
- '|systemgidmax=$(SYSTEM_GID_MAX)|'
+ '|systemgidmax=$(SYSTEM_GID_MAX)|' \
+ '|TTY_GID=$(TTY_GID)|'
SED_PROCESS = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \