]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
shadow: add 'util-linux-sulogin' to RDEPENDS ChenQi/bug6698
authorChen Qi <Qi.Chen@windriver.com>
Wed, 25 Mar 2015 08:55:01 +0000 (16:55 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Thu, 9 Apr 2015 05:39:10 +0000 (13:39 +0800)
commit0be883f21ba69887c02ce4e5b63506272efe7b23
tree2fe162210bc0457ea53c227ffabb5f7afcdecd53
parent83af41eda698917a427db049762c2220983b0a5f
shadow: add 'util-linux-sulogin' to RDEPENDS

If shadow is installed, sulogin from busybox cannot work correctly because
it still assumes that /etc/shadow is not there. This leads to the problem
when booting into rescue mode in an image with shadow installed but not
sulogin from util-linux.

To fix this problem, we add 'util-linux-sulogin' to RDEPENDS of shadow.
This runtime dependency is specific to OE, because we have to ensure
that sulogin can work correctly and sulogin from busybox cannot because
FEATURE_SHADOWPASSWORDS is not enabled by default. And we cannot enable
it by default for busybox, because that would lead to utilities in busybox
to assume the existence of /etc/shadow which is not always true in OE.

[YOCTO #6698]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/recipes-extended/shadow/shadow.inc