]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
libmodule-build-perl: Use env utility to find perl interpreter
authorKhem Raj <raj.khem@gmail.com>
Thu, 7 Jul 2022 03:14:00 +0000 (20:14 -0700)
committerSteve Sakoman <steve@sakoman.com>
Wed, 10 Aug 2022 15:04:10 +0000 (05:04 -1000)
Fixes
ERROR: QA Issue: : /work/x86_64-linux/libmodule-build-perl-native/0.4231-r0/sysroot-destdir/work/x86_64-linux/libmodule-build-perl-native/0.4231-r0/recipe-sysroot-native/usr/bin/config_data maximum shebang size exceeded, the maximum size is 128. [shebang-size]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54ecb2d3f2523293383103cbe590ebdd037ee483)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb

index a6fd7b1c07dabb6c58bc7242e7c83ed5d2fa4d55..c91b44cd6e293aaae9bd0cb852790759945e708b 100644 (file)
@@ -37,6 +37,7 @@ EXTRA_CPAN_BUILD_FLAGS = "--create_packlist=0"
 
 do_install_append () {
         rm -rf ${D}${docdir}/perl/html
+        sed -i "s:^#!.*:#!/usr/bin/env perl:" ${D}${bindir}/config_data
 }
 
 do_install_ptest() {