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>
This commit is contained in:
Jackie Huang 2015-03-25 10:19:15 +08:00 committed by Richard Purdie
parent 9b1ad0ee2f
commit d997e75fc6
1 changed files with 1 additions and 1 deletions

View File

@ -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