* [PATCH][meta-networking] mime-construct: Perform more mangling for perl path
@ 2016-01-04 1:14 rongqing.li
2016-01-04 8:53 ` Rongqing Li
0 siblings, 1 reply; 2+ messages in thread
From: rongqing.li @ 2016-01-04 1:14 UTC (permalink / raw)
To: openembedded-devel
From: Roy Li <rongqing.li@windriver.com>
native perl is in /usr/bin/mime-construct, introduce the below
QA warning, it should be replaced:
WARNING: QA Issue: /usr/bin/mime-construct_mime-construct contained in package mime-construct requires
tmp/sysroots/x86_64-linux/usr/bin/perl-native/perl, but no providers found in its RDEPENDS [file-rdeps]
Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
.../recipes-extended/mime-construct/mime-construct_1.11.bb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta-networking/recipes-extended/mime-construct/mime-construct_1.11.bb b/meta-networking/recipes-extended/mime-construct/mime-construct_1.11.bb
index 6db4fdf..61bcd13 100644
--- a/meta-networking/recipes-extended/mime-construct/mime-construct_1.11.bb
+++ b/meta-networking/recipes-extended/mime-construct/mime-construct_1.11.bb
@@ -20,3 +20,9 @@ inherit cpan
RDEPENDS_${PN} = "msmtp perl perl-module-mime-base64 perl-module-mime-quotedprint \
libproc-waitstat-perl libmime-types-perl perl-module-filehandle perl-module-posix \
"
+
+do_install_append() {
+ #change the interpreter in file
+ sed -i -e "s|${STAGING_BINDIR_NATIVE}/perl-native/perl -w|${bindir}/env perl|g" \
+ ${D}/${bindir}/mime-construct
+}
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH][meta-networking] mime-construct: Perform more mangling for perl path
2016-01-04 1:14 [PATCH][meta-networking] mime-construct: Perform more mangling for perl path rongqing.li
@ 2016-01-04 8:53 ` Rongqing Li
0 siblings, 0 replies; 2+ messages in thread
From: Rongqing Li @ 2016-01-04 8:53 UTC (permalink / raw)
To: openembedded-devel
sorry, please drop this patch
-Roy
On 2016年01月04日 09:14, rongqing.li@windriver.com wrote:
> From: Roy Li <rongqing.li@windriver.com>
>
> native perl is in /usr/bin/mime-construct, introduce the below
> QA warning, it should be replaced:
>
> WARNING: QA Issue: /usr/bin/mime-construct_mime-construct contained in package mime-construct requires
> tmp/sysroots/x86_64-linux/usr/bin/perl-native/perl, but no providers found in its RDEPENDS [file-rdeps]
>
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
> .../recipes-extended/mime-construct/mime-construct_1.11.bb | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/meta-networking/recipes-extended/mime-construct/mime-construct_1.11.bb b/meta-networking/recipes-extended/mime-construct/mime-construct_1.11.bb
> index 6db4fdf..61bcd13 100644
> --- a/meta-networking/recipes-extended/mime-construct/mime-construct_1.11.bb
> +++ b/meta-networking/recipes-extended/mime-construct/mime-construct_1.11.bb
> @@ -20,3 +20,9 @@ inherit cpan
> RDEPENDS_${PN} = "msmtp perl perl-module-mime-base64 perl-module-mime-quotedprint \
> libproc-waitstat-perl libmime-types-perl perl-module-filehandle perl-module-posix \
> "
> +
> +do_install_append() {
> + #change the interpreter in file
> + sed -i -e "s|${STAGING_BINDIR_NATIVE}/perl-native/perl -w|${bindir}/env perl|g" \
> + ${D}/${bindir}/mime-construct
> +}
>
--
Best Reagrds,
Roy | RongQing Li
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-04 8:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-04 1:14 [PATCH][meta-networking] mime-construct: Perform more mangling for perl path rongqing.li
2016-01-04 8:53 ` Rongqing Li
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.