summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2024-05-24 14:11:54 +0200
committerFranck Bui <fbui@suse.com>2024-05-27 17:20:26 +0200
commitde0f11d790624138d77f4d383b67c12e0249f54e (patch)
treeb3d6edfbb22999cd64a803a44de32ca57623c17a /meson.build
parentMerge pull request #32994 from keszybz/kernel-install-parsing (diff)
downloadsystemd-de0f11d790624138d77f4d383b67c12e0249f54e.tar.xz
systemd-de0f11d790624138d77f4d383b67c12e0249f54e.zip
meson: don't put a symlink pointing to '20-systemd-ssh-proxy.conf' in /etc in all cases
On distros like SUSE where ssh config dropins in /usr are supported, there's no need for a symlink in /etc/ssh/ssh_config.d/ that points to the dropin installed somewhere in /usr (that is not reachable by ssh).
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index dfea903b60..3eedf9251b 100644
--- a/meson.build
+++ b/meson.build
@@ -204,6 +204,7 @@ sshconfdir = get_option('sshconfdir')
if sshconfdir == ''
sshconfdir = sysconfdir / 'ssh/ssh_config.d'
endif
+conf.set10('LINK_SSH_PROXY_DROPIN', sshconfdir != 'no' and not sshconfdir.startswith('/usr/'))
sshdconfdir = get_option('sshdconfdir')
if sshdconfdir == ''