From: Andreas Rammhold Date: Mon, 26 Jul 2021 15:20:34 +0000 (+0200) Subject: login: respect install_sysconfdir_samples in meson file X-Git-Tag: v250-rc1~787^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=72964d047a7a8f79ae12ab41168feb0080eef6c3;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/login/meson.build b/src/login/meson.build index 8c20e6be65c..b637adc9a2f 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],