[oe-commits] [openembedded-core] 06/10: nss: fix postinst script for nativesdk build
git at git.openembedded.org
git at git.openembedded.org
Fri Aug 24 11:48:49 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 9938254e48bf4042b7a31efb7fcb6da8a8f48993
Author: Mikko Rapeli <mikko.rapeli at bmw.de>
AuthorDate: Fri Aug 24 11:54:23 2018 +0300
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 at bmw.de>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-support/nss/nss_3.38.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-support/nss/nss_3.38.bb b/meta/recipes-support/nss/nss_3.38.bb
index f3e5170..90b6933 100644
--- a/meta/recipes-support/nss/nss_3.38.bb
+++ b/meta/recipes-support/nss/nss_3.38.bb
@@ -227,13 +227,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
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list