summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2021-07-26 17:20:34 +0200
committerAndreas Rammhold <andreas@rammhold.de>2021-08-21 15:09:44 +0200
commit72964d047a7a8f79ae12ab41168feb0080eef6c3 (patch)
tree7ede9040be509fc61b2fa9aa8bfc3bb9f23b2688
parentcfd760b6a77808d0b9451ed618a23b6259fe525f (diff)
downloadsystemd-72964d047a7a8f79ae12ab41168feb0080eef6c3.tar.gz
login: respect install_sysconfdir_samples in meson file
The refactoring done in c900d89faa0 caused the configuration files to be installed into the pkgsysconfdir regardless of the state of the install_sysconfdir_samples boolean that indicates whether or not the sample files should be installed.
-rw-r--r--src/login/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/meson.build b/src/login/meson.build
index 8c20e6be65..b637adc9a2 100644
--- a/src/login/meson.build
+++ b/src/login/meson.build
@@ -67,7 +67,7 @@ pam_systemd_c = files('pam_systemd.c')
enable_logind = conf.get('ENABLE_LOGIND') == 1
in_files = [
- ['logind.conf', pkgsysconfdir, enable_logind],
+ ['logind.conf', pkgsysconfdir, enable_logind and install_sysconfdir_samples],
['70-uaccess.rules', udevrulesdir, enable_logind and conf.get('HAVE_ACL') == 1],
['71-seat.rules', udevrulesdir, enable_logind],
['73-seat-late.rules', udevrulesdir, enable_logind],