aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nss
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2015-03-25 10:19:15 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-24 11:06:54 +0100
commitd997e75fc6afa2710deb12c7922795cedef830ae (patch)
treeab491036edc2e5a3dd778c366150a9191e2a3902 /meta/recipes-support/nss
parent9b1ad0ee2feec623a62b4734d71155a9c129fa21 (diff)
downloadopenembedded-core-contrib-d997e75fc6afa2710deb12c7922795cedef830ae.tar.gz
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'. (From OE-Core rev: 7eba8ba126e8757d0b1d5c3a758748e42c3646ff) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nss')
-rw-r--r--meta/recipes-support/nss/nss/signlibs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/nss/nss/signlibs.sh b/meta/recipes-support/nss/nss/signlibs.sh
index 1ec79f4576..a74e499f8c 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