]> code.ossystems Code Review - openembedded-core.git/commitdiff
shadow: add build dependency on shadow-native
authorMartin Donnelly <martin.donnelly@ge.com>
Wed, 27 Feb 2013 12:58:54 +0000 (12:58 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Mar 2013 11:02:07 +0000 (11:02 +0000)
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>
meta/recipes-extended/shadow/shadow_4.1.4.3.bb

index 4a0dbd9e89401b9d60f159d7927e0c57e6b33464..8226a6e3b39fccb530a46469e6b295ba6e605a78 100644 (file)
@@ -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"