Hi, On Sun Jan 25, 2026 at 10:15 AM CET, Patrick Vogelaar via lists.openembedded.org wrote: > This patch adds a variable for the key directory path. This is especially > useful when working with a read-only file system where you want to > specify the location e.g. on a r/w partition. To be consistent, the > change was also done for the read write path. > > For changing the path simply create a bbappend and override the > variable. > > Signed-off-by: Patrick Vogelaar <[email protected]> > --- > .../openssh/openssh_10.2p1.bb | 16 ++++++++++------ > 1 file changed, 10 insertions(+), 6 deletions(-) > > diff --git a/meta/recipes-connectivity/openssh/openssh_10.2p1.bb > b/meta/recipes-connectivity/openssh/openssh_10.2p1.bb > index 866129573f..d8ea487ae3 100644 > --- a/meta/recipes-connectivity/openssh/openssh_10.2p1.bb > +++ b/meta/recipes-connectivity/openssh/openssh_10.2p1.bb > @@ -99,6 +99,10 @@ CACHED_CONFIGUREVARS += > "ac_cv_path_PATH_PASSWD_PROG=${bindir}/passwd" > # We don't want to depend on libblockfile > 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"
Thanks for the patch, it was merged in master. As a follow-up, could you send patches to document these variables in https://git.yoctoproject.org/yocto-docs/tree/documentation/ref-manual/variables.rst? And add a note here https://git.yoctoproject.org/yocto-docs/tree/documentation/migration-guides/release-notes-6.0.rst#n24? Thanks! Antonin -- Antonin Godard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#230132): https://lists.openembedded.org/g/openembedded-core/message/230132 Mute This Topic: https://lists.openembedded.org/mt/117448160/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
