diff options
author | Kai Kang <kai.kang@windriver.com> | 2022-07-04 23:48:11 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-07-06 00:08:14 -0400 |
commit | 4ca06e600deb15f90242c1730fec8d9443950eab (patch) | |
tree | b65c2933ee5293fc88e27010014e3edfd72b6366 | |
parent | 01f98053ac44129adc4018ab008bc7f02cbd0932 (diff) | |
download | meta-openembedded-contrib-4ca06e600deb15f90242c1730fec8d9443950eab.tar.gz |
libparse-yapp-perl: update interpreter of yapp
Update interpreter on shebang line of script yapp to fix qa error:
ERROR: QA Issue: : /work/x86_64-linux/libparse-yapp-perl-native/1.21-r0/sysroot-destdir
/work/x86_64-linux/libparse-yapp-perl-native/1.21-r0/recipe-sysroot-native/usr/bin/yapp
maximum shebang size exceeded, the maximum size is 128. [shebang-size]
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb b/meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb index d7959df66e..be9704a313 100644 --- a/meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb +++ b/meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb @@ -18,4 +18,8 @@ S = "${WORKDIR}/Parse-Yapp-${PV}" inherit cpan +do_install:append() { + sed -i "s:^#!.*:#!/usr/bin/env perl:" ${D}${bindir}/yapp +} + BBCLASSEXTEND = "native" |