summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/shadow
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2017-01-19 10:04:19 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 22:51:08 +0000
commit5a59e292d1382ea6858f6ccb532e48a9f1f4bea6 (patch)
tree75f62c7156504bfbeb7b9a197c11accf76464e7e /meta/recipes-extended/shadow
parent7b2ab076386a6a8e92a90c0c804647feca61dd40 (diff)
downloadopenembedded-core-5a59e292d1382ea6858f6ccb532e48a9f1f4bea6.tar.gz
openembedded-core-5a59e292d1382ea6858f6ccb532e48a9f1f4bea6.tar.bz2
openembedded-core-5a59e292d1382ea6858f6ccb532e48a9f1f4bea6.zip
shadow: Add PACKAGE_WRITE_DEPS for postinst
pwconv and grpconv are used in the postinstall script. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Diffstat (limited to 'meta/recipes-extended/shadow')
-rw-r--r--meta/recipes-extended/shadow/shadow.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index f79565b359..4c4db0013f 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -6,7 +6,6 @@ LICENSE = "BSD | Artistic-1.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=ed80ff1c2b40843cf5768e5229cf16e5 \
file://src/passwd.c;beginline=8;endline=30;md5=d83888ea14ae61951982d77125947661"
-DEPENDS = "shadow-native"
DEPENDS_class-native = ""
DEPENDS_class-nativesdk = ""
@@ -187,6 +186,7 @@ ALTERNATIVE_LINK_NAME[groups.1] = "${mandir}/man1/groups.1"
ALTERNATIVE_LINK_NAME[su.1] = "${mandir}/man1/su.1"
ALTERNATIVE_LINK_NAME[nologin.8] = "${mandir}/man8/nologin.8"
+PACKAGE_WRITE_DEPS += "shadow-native"
pkg_postinst_${PN} () {
if [ "x$D" != "x" ]; then
rootarg="--root $D"