Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] Modify the path of env in CA.pl to make export-sdk successfully.
@ 2013-12-02  7:13 yzhu1
  2013-12-02 13:43 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: yzhu1 @ 2013-12-02  7:13 UTC (permalink / raw)
  To: openembedded-core

---
 meta/recipes-connectivity/openssl/openssl.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index 3bfe569..de10d17 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -154,7 +154,7 @@ do_install () {
 
 	install -d ${D}${includedir}
 	cp --dereference -R include/openssl ${D}${includedir}
-	sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${libdir}/ssl/misc/CA.pl
+	sed -i -e '1s,^.*$,#! ${bindir}/perl,' ${D}${libdir}/ssl/misc/CA.pl
 
 	oe_multilib_header openssl/opensslconf.h
 }
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Modify the path of env in CA.pl to make export-sdk successfully.
  2013-12-02  7:13 [PATCH] Modify the path of env in CA.pl to make export-sdk successfully yzhu1
@ 2013-12-02 13:43 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2013-12-02 13:43 UTC (permalink / raw)
  To: yzhu1; +Cc: openembedded-core

On Mon, 2013-12-02 at 15:13 +0800, yzhu1 wrote:
> ---
>  meta/recipes-connectivity/openssl/openssl.inc |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

What is "export-sdk" and how does this break it?

I suspect what we want to do is hardcode /usr/bin/env in here for
nativesdk? We can't/don't want to assume the sdk contains perl.

Cheers,

Richard

> diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
> index 3bfe569..de10d17 100644
> --- a/meta/recipes-connectivity/openssl/openssl.inc
> +++ b/meta/recipes-connectivity/openssl/openssl.inc
> @@ -154,7 +154,7 @@ do_install () {
>  
>  	install -d ${D}${includedir}
>  	cp --dereference -R include/openssl ${D}${includedir}
> -	sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${libdir}/ssl/misc/CA.pl
> +	sed -i -e '1s,^.*$,#! ${bindir}/perl,' ${D}${libdir}/ssl/misc/CA.pl
>  
>  	oe_multilib_header openssl/opensslconf.h
>  }




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-02 13:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02  7:13 [PATCH] Modify the path of env in CA.pl to make export-sdk successfully yzhu1
2013-12-02 13:43 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox