diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-07-06 20:14:00 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-08 00:09:43 +0100 |
commit | 11db0390b02acac1324e0f827beb0e2e3d0d1d63 (patch) | |
tree | b4b428004608a360f21944325e181b299fc1ef98 /meta/recipes-devtools/perl | |
parent | 120fec33038482c4d2d552aebee2eb63b8e0fba5 (diff) | |
download | poky-11db0390b02acac1324e0f827beb0e2e3d0d1d63.tar.gz |
libmodule-build-perl: Use env utility to find perl interpreter
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]
(From OE-Core rev: 54ecb2d3f2523293383103cbe590ebdd037ee483)
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>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r-- | meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb b/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb index e2c79d962b..881d5e672e 100644 --- a/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb +++ b/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb | |||
@@ -37,6 +37,7 @@ EXTRA_CPAN_BUILD_FLAGS = "--create_packlist=0" | |||
37 | 37 | ||
38 | do_install:append () { | 38 | do_install:append () { |
39 | rm -rf ${D}${docdir}/perl/html | 39 | rm -rf ${D}${docdir}/perl/html |
40 | sed -i "s:^#!.*:#!/usr/bin/env perl:" ${D}${bindir}/config_data | ||
40 | } | 41 | } |
41 | 42 | ||
42 | do_install_ptest() { | 43 | do_install_ptest() { |