From 4ca06e600deb15f90242c1730fec8d9443950eab Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Mon, 4 Jul 2022 23:48:11 +0800 Subject: 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 Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb | 4 ++++ 1 file changed, 4 insertions(+) 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" -- cgit 1.2.3-korg