diff options
-rw-r--r-- | meta-oe/recipes-support/nss/nss_3.56.bb | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/meta-oe/recipes-support/nss/nss_3.56.bb b/meta-oe/recipes-support/nss/nss_3.56.bb index 4aa5d29ec..107b0a015 100644 --- a/meta-oe/recipes-support/nss/nss_3.56.bb +++ b/meta-oe/recipes-support/nss/nss_3.56.bb | |||
@@ -238,20 +238,21 @@ do_install_append_class-target() { | |||
238 | } | 238 | } |
239 | 239 | ||
240 | PACKAGE_WRITE_DEPS += "nss-native" | 240 | PACKAGE_WRITE_DEPS += "nss-native" |
241 | |||
241 | pkg_postinst_${PN} () { | 242 | pkg_postinst_${PN} () { |
242 | if [ -n "$D" ]; then | 243 | for I in $D${libdir}/lib*.chk; do |
243 | for I in $D${libdir}/lib*.chk; do | 244 | DN=`dirname $I` |
244 | DN=`dirname $I` | 245 | BN=`basename $I .chk` |
245 | BN=`basename $I .chk` | 246 | FN=$DN/$BN.so |
246 | FN=$DN/$BN.so | 247 | shlibsign -i $FN |
247 | ${bindir}/shlibsign -i $FN | 248 | if [ $? -ne 0 ]; then |
248 | if [ $? -ne 0 ]; then | 249 | echo "shlibsign -i $FN failed" |
249 | exit 1 | 250 | fi |
250 | fi | 251 | done |
251 | done | 252 | } |
252 | else | 253 | |
253 | ${bindir}/signlibs.sh | 254 | pkg_postinst_ontarget_${PN} () { |
254 | fi | 255 | ${bindir}/signlibs.sh |
255 | } | 256 | } |
256 | 257 | ||
257 | PACKAGES =+ "${PN}-smime" | 258 | PACKAGES =+ "${PN}-smime" |