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>
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
}