]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Jul 2022 23:07:50 +0000 (00:07 +0100)
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>
meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb

index e2c79d962be75e3ed20ae3d79560647c971d15f0..881d5e672e6eba9c53c59c2637472c89f90ee6be 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() {