diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2013-07-22 13:23:44 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-07-26 00:07:43 -0700 |
commit | 64e87fc6e99bc1d4807034166735034b1f92bad8 (patch) | |
tree | 4e47584b6ee340a97658f3e82801081392f511ee /meta/recipes-support/nss | |
parent | d226f39bbd3b5f7c568a6804d69040502d28c843 (diff) | |
download | openembedded-core-contrib-64e87fc6e99bc1d4807034166735034b1f92bad8.tar.gz |
nss:fix postinst failed at rootfs time
Create checksum file at rootfs time to support read-only rootfs.
[YOCTO #4879]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/nss')
-rw-r--r-- | meta/recipes-support/nss/nss.inc | 8 |
1 files changed, 7 insertions, 1 deletions
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 } |