diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2015-03-25 10:19:15 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-24 11:06:54 +0100 |
commit | d997e75fc6afa2710deb12c7922795cedef830ae (patch) | |
tree | ab491036edc2e5a3dd778c366150a9191e2a3902 /meta/recipes-support/nss | |
parent | 9b1ad0ee2feec623a62b4734d71155a9c129fa21 (diff) | |
download | poky-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.sh | 2 |
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 @@ | |||
9 | # calculated on the host where they really need to be done on the | 9 | # calculated on the host where they really need to be done on the |
10 | # target | 10 | # target |
11 | 11 | ||
12 | CHK_FILES=`find /lib* /usr/lib* -name "*.chk"` | 12 | CHK_FILES=`ls /lib*/*.chk /usr/lib*/*.chk 2>/dev/null` |
13 | SIGN_BINARY=`which shlibsign` | 13 | SIGN_BINARY=`which shlibsign` |
14 | for I in $CHK_FILES | 14 | for I in $CHK_FILES |
15 | do | 15 | do |