diff options
author | Franck Bui <fbui@suse.com> | 2024-05-24 15:38:13 +0200 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2024-05-27 17:20:55 +0200 |
commit | 50d80ec5aced978ed2e41b437ef85b186f020bba (patch) | |
tree | 443197f559955ccb94b0c9ea0f6d3e715c27d0b5 /meson.build | |
parent | meson: don't put a symlink pointing to '20-systemd-ssh-proxy.conf' in /etc in... (diff) | |
download | systemd-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.build | 1 |
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/')) |