From: Chen Qi Date: Tue, 9 Sep 2014 02:46:14 +0000 (-0400) Subject: extrausers: add util-linux-sulogin to IMAGE_INSTALL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2FChenQi%2Fsulogin-shadow;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git extrausers: add util-linux-sulogin to IMAGE_INSTALL 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 --- diff --git a/meta/classes/extrausers.bbclass b/meta/classes/extrausers.bbclass index faf57b108e5..e9f4a259781 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;"