From: David Nyström Date: Sun, 29 Sep 2013 21:44:23 +0000 (+0000) Subject: nss: Fix return codes in postinstall X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~35856 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dc3eb72c4b9b68ab13310383a90fe7779bf92a7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/nss.inc index 11f1b7f849d..2b2b6687629 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