summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nss
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2013-07-22 13:23:44 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-29 13:09:01 +0100
commitee9bdf90ce68f206039720fa30d2b97b577c8057 (patch)
treea347a55d67f5b1ea59a3a32379d8dc3f35365065 /meta/recipes-support/nss
parentfcfee5c46cdb8797cba0097994815d59157bac7c (diff)
downloadpoky-ee9bdf90ce68f206039720fa30d2b97b577c8057.tar.gz
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 <hongxu.jia@windriver.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.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/nss.inc
index e2f3891ba7..11f1b7f849 100644
--- a/meta/recipes-support/nss/nss.inc
+++ b/meta/recipes-support/nss/nss.inc
@@ -163,7 +163,13 @@ do_install_append_class-target() {
163 163
164pkg_postinst_${PN} () { 164pkg_postinst_${PN} () {
165 if [ -n "$D" ]; then 165 if [ -n "$D" ]; then
166 exit 1 166 for I in $D/${libdir}/lib*.chk; do
167 DN=`dirname $I`
168 BN=`basename $I .chk`
169 FN=$DN/$BN.so
170 shlibsign -i $FN
171 done
172 exit 0
167 fi 173 fi
168 signlibs.sh 174 signlibs.sh
169} 175}