]> code.ossystems Code Review - openembedded-core.git/commit
rootfs-postcommands: fix ssh_allow_empty_password checking
authorJonathan Liu <net147@gmail.com>
Fri, 26 Feb 2016 09:12:21 +0000 (20:12 +1100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:41 +0000 (11:32 +0000)
commitdc4e3d31852084a75faf224882d1ab19d07de8fe
treed48b212845b92dd292f634ac9f6e6a1f301f5c47
parent8600997ea02e70dac286152f75f4b8328f0ac1f7
rootfs-postcommands: fix ssh_allow_empty_password checking

The ssh_allow_empty_password function doesn't check if
sshd_config_readonly exists before running sed which can result in an
error if sshd_config exists but sshd_config_readonly doesn't.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/rootfs-postcommands.bbclass