[oe-commits] Jackie Huang : nss: improve the script signlibs.sh

git at git.openembedded.org git at git.openembedded.org
Tue Apr 21 11:48:22 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 9c71dd9d0c87b81f47b764711de22c6e9a854734
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9c71dd9d0c87b81f47b764711de22c6e9a854734

Author: Jackie Huang <jackie.huang at windriver.com>
Date:   Wed Mar 25 10:19:15 2015 +0800

nss: improve the script signlibs.sh

The *.chk files are installed in ${libdir} by nss,
which is already known, no need to 'find' to get the
file list, and 'ls' is more faster than 'find'.

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-support/nss/nss/signlibs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/nss/nss/signlibs.sh b/meta/recipes-support/nss/nss/signlibs.sh
index 1ec79f4..a74e499 100644
--- a/meta/recipes-support/nss/nss/signlibs.sh
+++ b/meta/recipes-support/nss/nss/signlibs.sh
@@ -9,7 +9,7 @@
 # calculated on the host where they really need to be done on the
 # target
 
-CHK_FILES=`find /lib* /usr/lib* -name "*.chk"`
+CHK_FILES=`ls /lib*/*.chk /usr/lib*/*.chk 2>/dev/null`
 SIGN_BINARY=`which shlibsign`
 for I in $CHK_FILES
 do



More information about the Openembedded-commits mailing list