On Wed, Feb 04, 2015 at 08:51:41AM -0500, Jacob Stiffler wrote:
> * Currently perl-native is installing perl scripts with the
>   absolute path to the native  perl interpreter in the shebang.
> * Due to the directory structure of Yocto, this path may exceed
>   the shebang character limit in bash.
> * This is a workaround to get the correct perl interpreter from
>   the environment.
> * This solution has been obtained from:
>   http://patchwork.openembedded.org/patch/79251/
> * This may be dropped after migrating to dizzy as this has been
>   upstreamed: 
> http://cgit.openembedded.org/openembedded-core/commit/?id=83dec26849a120d0f1de64e63025354fa7108491

Looks good, thanks.


> Signed-off-by: Jacob Stiffler <j-stiff...@ti.com>
> ---
>  .../perl/perl-native_5.14.3.bbappend               |    9 +++++++++
>  1 file changed, 9 insertions(+)
>  create mode 100644 
> meta-arago-extras/recipes-devtools/perl/perl-native_5.14.3.bbappend
> 
> diff --git 
> a/meta-arago-extras/recipes-devtools/perl/perl-native_5.14.3.bbappend 
> b/meta-arago-extras/recipes-devtools/perl/perl-native_5.14.3.bbappend
> new file mode 100644
> index 0000000..2b16416
> --- /dev/null
> +++ b/meta-arago-extras/recipes-devtools/perl/perl-native_5.14.3.bbappend
> @@ -0,0 +1,9 @@
> +
> +PR_append = "a"
> +
> +do_install_append() {
> +     for f in `grep -Il '#! *${bindir}/perl' ${D}/${bindir}/*`; do
> +             sed -i -e 's|${bindir}/perl|/usr/bin/env nativeperl|' $f
> +     done
> +}
> +
> -- 
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to