summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorDavid Nyström <david.c.nystrom@gmail.com>2013-09-29 21:44:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-30 22:11:58 +0100
commit58825b9b2077298312226e640f750632095d0d21 (patch)
treec0c6b7f062d27be7690da51da5a8a821740ad6fc /meta/recipes-support
parentdf18dc084e071b83d49ee42e706f203296599432 (diff)
downloadpoky-58825b9b2077298312226e640f750632095d0d21.tar.gz
nss: Fix return codes in postinstall
exit 0 was done if $D != NULL, if one or more shlibsign executions fails. (From OE-Core rev: 5dc3eb72c4b9b68ab13310383a90fe7779bf92a7) Signed-off-by: David Nyström <david.nystrom@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/nss/nss.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/nss.inc
index 11f1b7f849..2b2b668762 100644
--- a/meta/recipes-support/nss/nss.inc
+++ b/meta/recipes-support/nss/nss.inc
@@ -168,6 +168,9 @@ pkg_postinst_${PN} () {
168 BN=`basename $I .chk` 168 BN=`basename $I .chk`
169 FN=$DN/$BN.so 169 FN=$DN/$BN.so
170 shlibsign -i $FN 170 shlibsign -i $FN
171 if [ $? -ne 0 ]; then
172 exit 1
173 fi
171 done 174 done
172 exit 0 175 exit 0
173 fi 176 fi