[OE-core] [PATCH 2/2] extrausers: add util-linux-sulogin to IMAGE_INSTALL
ChenQi
Qi.Chen at windriver.com
Mon Sep 15 01:47:10 UTC 2014
On 09/15/2014 06:51 AM, Burton, Ross wrote:
> On 9 September 2014 04:01, Chen Qi <Qi.Chen at 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
More information about the Openembedded-core
mailing list