mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
fcfee5c46c
commit
ee9bdf90ce
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user