summaryrefslogtreecommitdiffstats
path: root/src/login
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2020-12-31 00:11:30 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-14 07:22:06 +0100
commit225d08b8790fb0927f9ab360e372f9f34bbddacb (patch)
tree858c32402580bedac85370a1625c34cee043c6fe /src/login
parentudev: add missing short option name (diff)
downloadsystemd-225d08b8790fb0927f9ab360e372f9f34bbddacb.tar.xz
systemd-225d08b8790fb0927f9ab360e372f9f34bbddacb.zip
Add install-sysconfdir=no-samples option for (non-)installation of sample configs
By default, systemd installs various sample configuration files containing commented-out defaults. Systems seeking to minimize the number of files in /etc may wish to install directories and configuration files that have semantic effects, but not install not commented-out sample configuration files. Turn install-sysconfdir into a multi-valued option, with a "no-samples" value to skip installing sample-only configuration files.
Diffstat (limited to 'src/login')
-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 e09610960b..9c7545790c 100644
--- a/src/login/meson.build
+++ b/src/login/meson.build
@@ -74,7 +74,7 @@ if conf.get('ENABLE_LOGIND') == 1
input : 'logind.conf.in',
output : 'logind.conf',
configuration : substs)
- if install_sysconfdir
+ if install_sysconfdir_samples
install_data(logind_conf,
install_dir : pkgsysconfdir)
endif