diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2015-04-09 13:49:29 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-09 19:48:01 +0100 |
| commit | 9b45b990d2fc870df556f05908dcb48b9ebcfc02 (patch) | |
| tree | fed7a94891f9e6cd11af74fefc15a5a0ba351a54 /scripts/hob | |
| parent | 4bde182ed236243547929dd98763f1c09eddd097 (diff) | |
| download | openembedded-core-9b45b990d2fc870df556f05908dcb48b9ebcfc02.tar.gz openembedded-core-9b45b990d2fc870df556f05908dcb48b9ebcfc02.tar.bz2 openembedded-core-9b45b990d2fc870df556f05908dcb48b9ebcfc02.zip | |
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/hob')
0 files changed, 0 insertions, 0 deletions
