Use common definitions from bitbake.conf instead of hardcoded values for
OPENSSH_HOST_KEY_DIR and OPENSSH_HOST_KEY_DIR_READONLY_CONFIG.
Fixes: addd80ddfd89 ("openssh: add variable for key path")
Signed-off-by: Antonin Godard <[email protected]>
---
meta/recipes-connectivity/openssh/openssh_10.2p1.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-connectivity/openssh/openssh_10.2p1.bb
b/meta/recipes-connectivity/openssh/openssh_10.2p1.bb
index d8ea487ae3a..929c9e4b9fb 100644
--- a/meta/recipes-connectivity/openssh/openssh_10.2p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_10.2p1.bb
@@ -100,8 +100,8 @@ CACHED_CONFIGUREVARS +=
"ac_cv_path_PATH_PASSWD_PROG=${bindir}/passwd"
CACHED_CONFIGUREVARS += "ac_cv_header_maillock_h=no"
# This allows overriding the key location
-OPENSSH_HOST_KEY_DIR_READONLY_CONFIG ?= "/var/run/ssh"
-OPENSSH_HOST_KEY_DIR ?= "/etc/ssh"
+OPENSSH_HOST_KEY_DIR_READONLY_CONFIG ?= "${localstatedir}/run/ssh"
+OPENSSH_HOST_KEY_DIR ?= "${sysconfdir}/ssh"
do_configure:prepend () {
export LD="${CC}"
---
base-commit: 6ce19709f7835ee5cd7915e181f89397975236c8
change-id: 20260206-fix-openssh-hardcoded-paths-98e8c3755e0f
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230599):
https://lists.openembedded.org/g/openembedded-core/message/230599
Mute This Topic: https://lists.openembedded.org/mt/117668655/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-