* [PATCH] openssl: fix the reference to native perl in ptests
@ 2017-04-10 15:59 Alexander Kanavin
2017-04-10 16:51 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Kanavin @ 2017-04-10 15:59 UTC (permalink / raw)
To: openembedded-core
This was causing a couple of ptest failures.
[YOCTO #10840]
Signed-off-by: Alexander Kanavin <alexander.kanavin@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
+
cp Configure config e_os.h ${D}${PTEST_PATH}
cp -r -L include ${D}${PTEST_PATH}
ln -sf ${libdir}/libcrypto.a ${D}${PTEST_PATH}
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] openssl: fix the reference to native perl in ptests
2017-04-10 15:59 [PATCH] openssl: fix the reference to native perl in ptests Alexander Kanavin
@ 2017-04-10 16:51 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2017-04-10 16:51 UTC (permalink / raw)
To: Alexander Kanavin, openembedded-core
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@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-10 17:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-10 15:59 [PATCH] openssl: fix the reference to native perl in ptests Alexander Kanavin
2017-04-10 16:51 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox