[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH] nss: Fix return codes in postinstall
From:       david.c.nystrom () gmail ! com (=?UTF-8?q?David=20Nystr=C3=B6m?=)
Date:       2013-09-29 21:44:23
Message-ID: 1380491063-11425-1-git-send-email-david.nystrom () enea ! com
[Download RAW message or body]

exit 0 was done if $D != NULL, if one or more
shlibsign executions fails.

Signed-off-by: David Nystr?m <david.nystrom at enea.com>
---
 meta/recipes-support/nss/nss.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/nss.inc
index 11f1b7f..2b2b668 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
-- 
1.8.3.2


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic