[OE-core] [PATCH 1/1] nss:fix postinst failed at rootfs time
Hongxu Jia
hongxu.jia at windriver.com
Mon Jul 22 05:45:33 UTC 2013
Create checksum file at rootfs time to support read-only rootfs.
[YOCTO #4879]
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
meta/recipes-support/nss/nss.inc | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/nss.inc
index e2f3891..11f1b7f 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
}
--
1.8.1.2
More information about the Openembedded-core
mailing list