mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
libdbi-perl: fix interpreter on shebang line
Update interpreter on shebang line in scripts to fix error: ERROR: QA Issue: : /work/x86_64-linux/libdbi-perl-native/1.643-r0/sysroot-destdir/work/x86_64-linux/libdbi-perl-native/1.643-r0/recipe-sysroot-native/usr/bin/dbiproxy maximum shebang size exceeded, the maximum size is 128. [shebang-size] ERROR: QA Issue: : /work/x86_64-linux/libdbi-perl-native/1.643-r0/sysroot-destdir/work/x86_64-linux/libdbi-perl-native/1.643-r0/recipe-sysroot-native/usr/bin/dbiprof maximum shebang size exceeded, the maximum size is 128. [shebang-size] ERROR: QA Issue: : /work/x86_64-linux/libdbi-perl-native/1.643-r0/sysroot-destdir/work/x86_64-linux/libdbi-perl-native/1.643-r0/recipe-sysroot-native/usr/bin/dbilogstrip 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>
This commit is contained in:
@@ -29,6 +29,11 @@ do_install:prepend() {
|
|||||||
rm -rf ${B}/t/z*.t
|
rm -rf ${B}/t/z*.t
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_install:append() {
|
||||||
|
sed -i "s:^#!.*:#!/usr/bin/env perl:" ${D}${bindir}/dbiproxy \
|
||||||
|
${D}${bindir}/dbiprof ${D}${bindir}/dbilogstrip
|
||||||
|
}
|
||||||
|
|
||||||
RDEPENDS:${PN}:class-target = " \
|
RDEPENDS:${PN}:class-target = " \
|
||||||
perl \
|
perl \
|
||||||
perl-module-carp \
|
perl-module-carp \
|
||||||
|
|||||||
Reference in New Issue
Block a user