On 09/15/2014 06:51 AM, Burton, Ross wrote:
On 9 September 2014 04:01, Chen Qi <qi.c...@windriver.com> wrote:
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.
What's the rationale for installing bits of coreutils, verses enabling
FEATURE_SHADOWPASSWORDS in busybox?
Ross
If FEATURE_SHADOWPASSWORDS is enabled in busybox, busybox assumes that
there's /etc/shadow in the system, but it's possible that there isn't.
In such case, the related utilities from busybox cannot work correctly.
That's why I chose to installed util-linux-sulogin conditionally in
extrausers.bbclass instead of enabling FEATRUE_SHADOWPASSWORDS in the
defconfig of busybox.
Best Regards,
Chen Qi
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core