meson: don't install broken tmpfiles config with sshd?confdir == 'no'

20-systemd-ssh-generator.conf expands SSHCONFDIR, which is bogus when we
build with -Dsshconfdir=no. Similarly, avoid expanding SSHDCONFDIR in
20-systemd-userdb.conf when building with -Dsshconfdir=no.

Follow-up 6c7fc5d5f2.
This commit is contained in:
Frantisek Sumsal
2024-01-30 17:56:21 +00:00
committed by Luca Boccassi
parent cb3244c0dc
commit 62670a7752
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ executables += [
},
]
if sshconfdir != 'no'
if conf.get('ENABLE_SSH_PROXY_CONFIG') == 1
custom_target(
'20-systemd-ssh-proxy.conf',
input : '20-systemd-ssh-proxy.conf.in',
+1 -1
View File
@@ -24,7 +24,7 @@ executables += [
},
]
if conf.get('ENABLE_USERDB') == 1 and sshdconfdir != 'no'
if conf.get('ENABLE_SSH_USERDB_CONFIG') == 1
custom_target(
'20-systemd-userdb.conf',
input : '20-systemd-userdb.conf.in',