[OE-core] [PATCH] nss: improve the script signlibs.sh
Huang, Jie (Jackie)
Jackie.Huang at windriver.com
Tue Apr 21 02:22:54 UTC 2015
Ping, is this going to be merged?
Thanks,
Jackie
> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org [mailto:openembedded-core-
> bounces at lists.openembedded.org] On Behalf Of jackie.huang at windriver.com
> Sent: Wednesday, March 25, 2015 10:19 AM
> To: openembedded-core at lists.openembedded.org
> Subject: [OE-core] [PATCH] nss: improve the script signlibs.sh
>
> From: Jackie Huang <jackie.huang at windriver.com>
>
> 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 at windriver.com>
> ---
> meta/recipes-support/nss/nss/signlibs.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-support/nss/nss/signlibs.sh b/meta/recipes-support/nss/nss/signlibs.sh
> index 1ec79f4..a74e499 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
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list