diff options
author | Josh Triplett <josh@joshtriplett.org> | 2020-12-31 00:11:30 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-14 07:22:06 +0100 |
commit | 225d08b8790fb0927f9ab360e372f9f34bbddacb (patch) | |
tree | 858c32402580bedac85370a1625c34cee043c6fe /src/network | |
parent | udev: add missing short option name (diff) | |
download | systemd-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/network')
-rw-r--r-- | src/network/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/meson.build b/src/network/meson.build index 5cd7613168..72ca9b43e0 100644 --- a/src/network/meson.build +++ b/src/network/meson.build @@ -235,7 +235,7 @@ if conf.get('ENABLE_NETWORKD') == 1 install_dir : polkitpkladir) endif - if install_sysconfdir + if install_sysconfdir_samples install_data('networkd.conf', install_dir : pkgsysconfdir) endif |