diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2018-03-20 12:10:17 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-25 09:40:42 +0100 |
commit | 3727598586244340f49bfa41acbbf3747763e7ad (patch) | |
tree | 49e62b6f1f0e6ced79a6e0e35a73615d11a53147 /meta/recipes-extended/shadow/shadow.inc | |
parent | 3786bf8d69773d332c2a15e2131a1ff864feb11f (diff) | |
download | poky-3727598586244340f49bfa41acbbf3747763e7ad.tar.gz |
shadow.inc: run postinst only for target
* fails for nativesdk-shadow with:
pwconv: /etc/passwd.29063: No such file or directory
pwconv: cannot lock /etc/passwd; try again later.
(From OE-Core rev: c292945611d9f825051ac4938bb22a7d42fff994)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@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 cc189649b2..48a3be87e6 100644 --- a/meta/recipes-extended/shadow/shadow.inc +++ b/meta/recipes-extended/shadow/shadow.inc | |||
@@ -190,7 +190,7 @@ ALTERNATIVE_LINK_NAME[su.1] = "${mandir}/man1/su.1" | |||
190 | ALTERNATIVE_LINK_NAME[nologin.8] = "${mandir}/man8/nologin.8" | 190 | ALTERNATIVE_LINK_NAME[nologin.8] = "${mandir}/man8/nologin.8" |
191 | 191 | ||
192 | PACKAGE_WRITE_DEPS += "shadow-native" | 192 | PACKAGE_WRITE_DEPS += "shadow-native" |
193 | pkg_postinst_${PN} () { | 193 | pkg_postinst_${PN}_class-target () { |
194 | if [ "x$D" != "x" ]; then | 194 | if [ "x$D" != "x" ]; then |
195 | rootarg="--root $D" | 195 | rootarg="--root $D" |
196 | else | 196 | else |