diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-09-08 22:46:14 -0400 |
---|---|---|
committer | Chen Qi <Qi.Chen@windriver.com> | 2014-09-09 10:57:28 +0800 |
commit | d58dd3655ba6634fe15a01e36fc9822cbc83e13a (patch) | |
tree | 5b59b68b4459f2a16496a500c3ee9a62fe40f060 | |
parent | b527ba898c66ab8e6666d6e06f812f3bec1a9b49 (diff) | |
download | openembedded-core-contrib-ChenQi/sulogin-shadow.tar.gz |
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.bbclass | 2 |
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;" |