From 7eba8ba126e8757d0b1d5c3a758748e42c3646ff Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Wed, 25 Mar 2015 10:19:15 +0800 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-support/nss/nss/signlibs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-support/nss') 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 -- cgit 1.2.3-korg