From: Hongxu Jia Date: Mon, 22 Jul 2013 05:23:44 +0000 (+0800) Subject: nss:fix postinst failed at rootfs time X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ee9bdf90ce68f206039720fa30d2b97b577c8057;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git nss:fix postinst failed at rootfs time Create checksum file at rootfs time to support read-only rootfs. [YOCTO #4879] (From OE-Core rev: 64e87fc6e99bc1d4807034166735034b1f92bad8) Signed-off-by: Hongxu Jia 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 e2f3891ba72..11f1b7f849d 100644 --- a/meta/recipes-support/nss/nss.inc +++ b/meta/recipes-support/nss/nss.inc @@ -163,7 +163,13 @@ do_install_append_class-target() { pkg_postinst_${PN} () { if [ -n "$D" ]; then - exit 1 + for I in $D/${libdir}/lib*.chk; do + DN=`dirname $I` + BN=`basename $I .chk` + FN=$DN/$BN.so + shlibsign -i $FN + done + exit 0 fi signlibs.sh }