aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-09-08 22:46:14 -0400
committerChen Qi <Qi.Chen@windriver.com>2014-09-09 10:57:28 +0800
commitd58dd3655ba6634fe15a01e36fc9822cbc83e13a (patch)
tree5b59b68b4459f2a16496a500c3ee9a62fe40f060
parentb527ba898c66ab8e6666d6e06f812f3bec1a9b49 (diff)
downloadopenembedded-core-contrib-ChenQi/sulogin-shadow.tar.gz
openembedded-core-contrib-ChenQi/sulogin-shadow.tar.bz2
openembedded-core-contrib-ChenQi/sulogin-shadow.zip
extrausers: add util-linux-sulogin to IMAGE_INSTALLChenQi/sulogin-shadow
Previously, root with password set cannot login in rescue mode for core-image-minimal. This is because that the busybox's sulogin is not configured with FEATURE_SHADOWPASSWORDS enabled. Add util-linux-sulogin in IMAGE_INSTALL_append properly to fix this problem. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-rw-r--r--meta/classes/extrausers.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/extrausers.bbclass b/meta/classes/extrausers.bbclass
index faf57b108e..e9f4a25978 100644
--- a/meta/classes/extrausers.bbclass
+++ b/meta/classes/extrausers.bbclass
@@ -15,7 +15,7 @@
inherit useradd_base
-IMAGE_INSTALL_append = " ${@['', 'base-passwd shadow'][bool(d.getVar('EXTRA_USERS_PARAMS', True))]}"
+IMAGE_INSTALL_append = " ${@['', 'base-passwd shadow util-linux-sulogin'][bool(d.getVar('EXTRA_USERS_PARAMS', True))]}"
# Image level user / group settings
ROOTFS_POSTPROCESS_COMMAND_append = " set_user_group;"