[OE-core] [PATCH 2/2] extrausers: add util-linux-sulogin to IMAGE_INSTALL
Chen Qi
Qi.Chen at windriver.com
Tue Sep 9 03:01:37 UTC 2014
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 at windriver.com>
---
meta/classes/extrausers.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/extrausers.bbclass b/meta/classes/extrausers.bbclass
index faf57b1..e9f4a25 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;"
--
1.9.1
More information about the Openembedded-core
mailing list