mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
nss: fix postinst script for nativesdk build
It's better to refer to binaries in postinst script with full path which also works on SDK when /opt/nativesysroot/usr/bin is not in PATH. Fixes install of nativesdk-nss: Configuring nativesdk-nss. /var/lib/opkg/info/nativesdk-nss.postinst: line 14: signlibs.sh: not found Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
0f720e1c05
commit
31552510b1
|
|
@ -244,13 +244,13 @@ pkg_postinst_${PN} () {
|
|||
DN=`dirname $I`
|
||||
BN=`basename $I .chk`
|
||||
FN=$DN/$BN.so
|
||||
shlibsign -i $FN
|
||||
${bindir}/shlibsign -i $FN
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
else
|
||||
signlibs.sh
|
||||
${bindir}/signlibs.sh
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user