mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/openssh: install sshd-session
In OpenSSH 9.8 the server is split into two processes: sshd and sshd-session which results in the following error, when trying to start sshd: Starting sshd: /usr/libexec/sshd-session does not exist or is not executable This patch installs the sshd-session binary. Fixes: https://gitlab.com/buildroot.org/buildroot/-/issues/11 Fixes:4ac2cc5beeSigned-off-by: Niklas Yann Wettengel <niyawe@niyawe.de> Reviewed-by: Nevo Hed <nhed+buildroot@starry.com> Tested-by: Fiona Klute (WIWA) <fiona.klute@gmx.de> Signed-off-by: Arnout Vandecappelle <arnout@mind.be> (cherry picked from commit11d2ad3104) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
3a863002bd
commit
ce0e7c7d5f
@@ -112,6 +112,7 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_OPENSSH_SERVER),y)
|
||||
define OPENSSH_INSTALL_SERVER_PROGRAMS
|
||||
$(INSTALL) -D -m 0755 $(@D)/sshd $(TARGET_DIR)/usr/sbin/sshd
|
||||
$(INSTALL) -D -m 0755 $(@D)/sshd-session $(TARGET_DIR)/usr/libexec/sshd-session
|
||||
$(INSTALL) -D -m 0755 $(@D)/sftp-server $(TARGET_DIR)/usr/libexec/sftp-server
|
||||
endef
|
||||
OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_SERVER_PROGRAMS
|
||||
|
||||
Reference in New Issue
Block a user