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:05:56 +0100 |
commit | 7eba8ba126e8757d0b1d5c3a758748e42c3646ff (patch) | |
tree | 2673b6f832b1c2e15a1382445a290b1733fd77d6 /meta/recipes-support/nss | |
parent | cde6a85fd327407320adaad21203079a8dacbf23 (diff) | |
download | openembedded-core-7eba8ba126e8757d0b1d5c3a758748e42c3646ff.tar.gz openembedded-core-7eba8ba126e8757d0b1d5c3a758748e42c3646ff.tar.bz2 openembedded-core-7eba8ba126e8757d0b1d5c3a758748e42c3646ff.zip |
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@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 @@ # 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 |