summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/shadow
diff options
context:
space:
mode:
authorMartin Donnelly <martin.donnelly@ge.com>2013-02-27 12:58:54 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-07 11:02:07 +0000
commit4baf25420bafb1f3c063efb053d653bd37e01a62 (patch)
tree0e56514f0ff891292bc2b3efcb67c40b615936e9 /meta/recipes-extended/shadow
parent54760c783089c98cc6eda1933393ac3cb49bcaed (diff)
downloadopenembedded-core-4baf25420bafb1f3c063efb053d653bd37e01a62.tar.gz
openembedded-core-4baf25420bafb1f3c063efb053d653bd37e01a62.tar.bz2
openembedded-core-4baf25420bafb1f3c063efb053d653bd37e01a62.zip
shadow: add build dependency on shadow-native
The postinst requires patched pwconv and grpconv from shadow-native, without these the rootfs creation uses the host binaries and fails. Signed-off-by: Martin Donnelly <martin.donnelly@ge.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/shadow')
-rw-r--r--meta/recipes-extended/shadow/shadow_4.1.4.3.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/shadow/shadow_4.1.4.3.bb b/meta/recipes-extended/shadow/shadow_4.1.4.3.bb
index 4a0dbd9e89..8226a6e3b3 100644
--- a/meta/recipes-extended/shadow/shadow_4.1.4.3.bb
+++ b/meta/recipes-extended/shadow/shadow_4.1.4.3.bb
@@ -7,7 +7,8 @@ LICENSE = "BSD | Artistic-1.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=08c553a87d4e51bbed50b20e0adcaede \
file://src/passwd.c;beginline=8;endline=30;md5=d83888ea14ae61951982d77125947661"
-DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
+DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} \
+ shadow-native"
RDEPENDS_${PN} = "shadow-securetty ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_PLUGINS}', '', d)} \
base-passwd"
PR = "r13"