From 225d08b8790fb0927f9ab360e372f9f34bbddacb Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Wed, 30 Dec 2020 15:11:30 -0800 Subject: 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. --- src/login/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/login') 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 -- cgit v1.2.3