mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
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 <rongqing.li@windriver.com>
This commit is contained in:
parent
fd66e4713e
commit
73af5c278f
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user