From 73af5c278f6617149a46b2d2a1549bc154fa79e5 Mon Sep 17 00:00:00 2001 From: Roy Li Date: Mon, 4 Jan 2016 09:14:01 +0800 Subject: mime-construct: Perform more mangling for perl path 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 --- meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb b/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb index 9f1a7798204..501f3bf140a 100644 --- a/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb +++ b/meta-perl/recipes-extended/mime-construct/mime-construct_1.11.bb @@ -20,3 +20,9 @@ inherit cpan RDEPENDS_${PN} = "libmime-types-perl libproc-waitstat-perl msmtp \ perl-module-filehandle perl-module-mime-base64 perl-module-mime-quotedprint 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 +} -- cgit 1.2.3-korg