From: Matthew Campbell Date: Tue, 14 Jun 2016 21:34:18 +0000 (-0400) Subject: openssh: fix init script restart with read-only-rootfs X-Git-Tag: uninative-1.3~570 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=cb6f78072deb8b8c22baf5c31c3bd19d7e0af236;p=openembedded-core.git openssh: fix init script restart with read-only-rootfs restart in the init script uses the check_config() function which doesn't have the $SSHD_OPTS passed through. This causes it to check the wrong config (and fail when read-only-rootfs is enabled. Signed-off-by: Matthew Campbell Signed-off-by: Ross Burton --- diff --git a/meta/recipes-connectivity/openssh/openssh/init b/meta/recipes-connectivity/openssh/openssh/init index 70d4a34659..1f63725cc0 100644 --- a/meta/recipes-connectivity/openssh/openssh/init +++ b/meta/recipes-connectivity/openssh/openssh/init @@ -41,7 +41,7 @@ check_privsep_dir() { } check_config() { - /usr/sbin/sshd -t || exit 1 + /usr/sbin/sshd -t $SSHD_OPTS || exit 1 } check_keys() {