summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2024-05-24 15:38:13 +0200
committerFranck Bui <fbui@suse.com>2024-05-27 17:20:55 +0200
commit50d80ec5aced978ed2e41b437ef85b186f020bba (patch)
tree443197f559955ccb94b0c9ea0f6d3e715c27d0b5 /meson.build
parentmeson: don't put a symlink pointing to '20-systemd-ssh-proxy.conf' in /etc in... (diff)
downloadsystemd-50d80ec5aced978ed2e41b437ef85b186f020bba.tar.xz
systemd-50d80ec5aced978ed2e41b437ef85b186f020bba.zip
meson: don't put a symlink pointing to '20-systemd-userdb.conf' in /etc in all cases
It's only needed on distros where sshd doesn't support drop-ins in /usr, which is not the case on SUSE.
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 3eedf9251b..cf9f6fa10d 100644
--- a/meson.build
+++ b/meson.build
@@ -210,6 +210,7 @@ sshdconfdir = get_option('sshdconfdir')
if sshdconfdir == ''
sshdconfdir = sysconfdir / 'ssh/sshd_config.d'
endif
+conf.set10('LINK_SSHD_USERDB_DROPIN', sshdconfdir != 'no' and not sshdconfdir.startswith('/usr/'))
sshdprivsepdir = get_option('sshdprivsepdir')
conf.set10('CREATE_SSHDPRIVSEPDIR', sshdprivsepdir != 'no' and not sshdprivsepdir.startswith('/usr/'))