[OE-core] [PATCH] openssl: fix the reference to native perl in ptests

Richard Purdie richard.purdie at linuxfoundation.org
Mon Apr 10 16:51:05 UTC 2017


On Mon, 2017-04-10 at 18:59 +0300, Alexander Kanavin wrote:
> This was causing a couple of ptest failures.
> 
> [YOCTO #10840]
> 
> Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
> ---
>  meta/recipes-connectivity/openssl/openssl.inc | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta/recipes-connectivity/openssl/openssl.inc
> b/meta/recipes-connectivity/openssl/openssl.inc
> index 481a4445605..fcaf2318085 100644
> --- a/meta/recipes-connectivity/openssl/openssl.inc
> +++ b/meta/recipes-connectivity/openssl/openssl.inc
> @@ -205,6 +205,10 @@ do_install () {
>  
>  do_install_ptest () {
>  	cp -r -L Makefile.org Makefile test ${D}${PTEST_PATH}
> +
> +        # Replace the path to native perl with the path to target
> perl
> +        sed -i 's,^PERL=.*,PERL=/usr/bin/perl,'
> ${D}${PTEST_PATH}/Makefile
> +

I think this would need to be ${bindir}/perl?

Cheers,

Richard




More information about the Openembedded-core mailing list