summaryrefslogtreecommitdiffstats
path: root/meta/classes/core-image.bbclass
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2012-06-11 16:51:51 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-28 16:26:42 +0100
commit41ed2e653237e70e73be233af7e2d0a34eb96fe5 (patch)
treedb3c6a445de358b56f3af1851876c082248eebbe /meta/classes/core-image.bbclass
parent2fa7732840c9d70303650c61a437f6b02e1984a6 (diff)
downloadpoky-41ed2e653237e70e73be233af7e2d0a34eb96fe5.tar.gz
classes/image: Allow openssh empty passwords login.
Allow empty passwords login so that the default root user can login in through openssh. (From OE-Core rev: 39ef0a705ca059f9a7c68aa1710c81411fb7c762) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/core-image.bbclass')
-rw-r--r--meta/classes/core-image.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/core-image.bbclass b/meta/classes/core-image.bbclass
index e2ad0fcf31..25f5c5a8dc 100644
--- a/meta/classes/core-image.bbclass
+++ b/meta/classes/core-image.bbclass
@@ -69,4 +69,6 @@ ROOTFS_POSTPROCESS_COMMAND += "rootfs_update_timestamp ; "
69 69
70# Zap the root password if debug-tweaks feature is not enabled 70# Zap the root password if debug-tweaks feature is not enabled
71ROOTFS_POSTPROCESS_COMMAND += '${@base_contains("IMAGE_FEATURES", "debug-tweaks", "", "zap_root_password ; ",d)}' 71ROOTFS_POSTPROCESS_COMMAND += '${@base_contains("IMAGE_FEATURES", "debug-tweaks", "", "zap_root_password ; ",d)}'
72# Allow openssh accept empty password login if both debug-tweaks and ssh-server-openssh are enabled
73ROOTFS_POSTPROCESS_COMMAND += '${@base_contains("IMAGE_FEATURES", "debug-tweaks ssh-server-openssh", "openssh_allow_empty_password; ", "",d)}'
72 74