summaryrefslogtreecommitdiff
path: root/meta/recipes-support/nss
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:04:22 +0100
commit5dc3eb72c4b9b68ab13310383a90fe7779bf92a7 (patch)
tree23def9a7e92ffb56664581d199cc3ec5259547a3 /meta/recipes-support/nss
parentb6cafb1fcd6c168f8f4a4d2d5c74f3b425f156f3 (diff)
downloadopenembedded-core-5dc3eb72c4b9b68ab13310383a90fe7779bf92a7.tar.gz
openembedded-core-5dc3eb72c4b9b68ab13310383a90fe7779bf92a7.tar.bz2
openembedded-core-5dc3eb72c4b9b68ab13310383a90fe7779bf92a7.zip
nss: Fix return codes in postinstall
exit 0 was done if $D != NULL, if one or more shlibsign executions fails. 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/nss')
-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} () {
BN=`basename $I .chk`
FN=$DN/$BN.so
shlibsign -i $FN
+ if [ $? -ne 0 ]; then
+ exit 1
+ fi
done
exit 0
fi