diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2017-01-19 10:04:19 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-20 11:53:50 +0000 |
commit | e2ea1cdce9708deb8d6a30d02b113734f5afc20d (patch) | |
tree | ea83cbe5b0fe98ce4738653b62dfb9846eb22bce /meta/recipes-extended/shadow/shadow.inc | |
parent | 5d01111eb80d20e0dd3a245bb6190af515b4cdac (diff) | |
download | poky-e2ea1cdce9708deb8d6a30d02b113734f5afc20d.tar.gz |
shadow: Add PACKAGE_WRITE_DEPS for postinst
pwconv and grpconv are used in the postinstall script.
(From OE-Core rev: 5a59e292d1382ea6858f6ccb532e48a9f1f4bea6)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/shadow/shadow.inc')
-rw-r--r-- | meta/recipes-extended/shadow/shadow.inc | 2 |
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" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=ed80ff1c2b40843cf5768e5229cf16e5 \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=ed80ff1c2b40843cf5768e5229cf16e5 \ |
7 | file://src/passwd.c;beginline=8;endline=30;md5=d83888ea14ae61951982d77125947661" | 7 | file://src/passwd.c;beginline=8;endline=30;md5=d83888ea14ae61951982d77125947661" |
8 | 8 | ||
9 | DEPENDS = "shadow-native" | ||
10 | DEPENDS_class-native = "" | 9 | DEPENDS_class-native = "" |
11 | DEPENDS_class-nativesdk = "" | 10 | DEPENDS_class-nativesdk = "" |
12 | 11 | ||
@@ -187,6 +186,7 @@ ALTERNATIVE_LINK_NAME[groups.1] = "${mandir}/man1/groups.1" | |||
187 | ALTERNATIVE_LINK_NAME[su.1] = "${mandir}/man1/su.1" | 186 | ALTERNATIVE_LINK_NAME[su.1] = "${mandir}/man1/su.1" |
188 | ALTERNATIVE_LINK_NAME[nologin.8] = "${mandir}/man8/nologin.8" | 187 | ALTERNATIVE_LINK_NAME[nologin.8] = "${mandir}/man8/nologin.8" |
189 | 188 | ||
189 | PACKAGE_WRITE_DEPS += "shadow-native" | ||
190 | pkg_postinst_${PN} () { | 190 | pkg_postinst_${PN} () { |
191 | if [ "x$D" != "x" ]; then | 191 | if [ "x$D" != "x" ]; then |
192 | rootarg="--root $D" | 192 | rootarg="--root $D" |