diff options
author | Mikko Rapeli <mikko.rapeli@bmw.de> | 2020-08-26 12:15:03 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-08-26 14:27:09 -0700 |
commit | 31552510b15c1c97aa6cbe180c2bb53d139efbcc (patch) | |
tree | 0929e0a8a9f3efadaba7a02f3198b7cffd5ab0b2 | |
parent | 0f720e1c051630c36e2dcfc8da166d1710e1c1a5 (diff) | |
download | meta-openembedded-31552510b15c1c97aa6cbe180c2bb53d139efbcc.tar.gz |
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>
-rw-r--r-- | meta-oe/recipes-support/nss/nss_3.54.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/nss/nss_3.54.bb b/meta-oe/recipes-support/nss/nss_3.54.bb index 4923f68685..dc5cafbf1c 100644 --- a/meta-oe/recipes-support/nss/nss_3.54.bb +++ b/meta-oe/recipes-support/nss/nss_3.54.bb | |||
@@ -244,13 +244,13 @@ pkg_postinst_${PN} () { | |||
244 | DN=`dirname $I` | 244 | DN=`dirname $I` |
245 | BN=`basename $I .chk` | 245 | BN=`basename $I .chk` |
246 | FN=$DN/$BN.so | 246 | FN=$DN/$BN.so |
247 | shlibsign -i $FN | 247 | ${bindir}/shlibsign -i $FN |
248 | if [ $? -ne 0 ]; then | 248 | if [ $? -ne 0 ]; then |
249 | exit 1 | 249 | exit 1 |
250 | fi | 250 | fi |
251 | done | 251 | done |
252 | else | 252 | else |
253 | signlibs.sh | 253 | ${bindir}/signlibs.sh |
254 | fi | 254 | fi |
255 | } | 255 | } |
256 | 256 | ||