diff options
author | He Zhe <zhe.he@windriver.com> | 2016-08-24 15:08:16 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-23 15:27:06 +0100 |
commit | 90dd677528c00068135baaf79b19a8bc320966f2 (patch) | |
tree | fe10ff26c5bc481b0e523481df7ce6933f69c838 /meta | |
parent | 6db9299d9eb814b410b0ac210245a463f1b718da (diff) | |
download | poky-90dd677528c00068135baaf79b19a8bc320966f2.tar.gz |
perl: Correct perl path for ptest
Substitute /usr/local with ${bindir}
(From OE-Core rev: bc372d65bc395290e1b7132908a3b943e1b73144)
(From OE-Core rev: 74ded01feab9d0ba2b837e015d40d15a78fec544)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/perl/perl-ptest.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc index 99989807b6..650076abdb 100644 --- a/meta/recipes-devtools/perl/perl-ptest.inc +++ b/meta/recipes-devtools/perl/perl-ptest.inc | |||
@@ -5,6 +5,7 @@ SRC_URI += "file://run-ptest \ | |||
5 | 5 | ||
6 | do_install_ptest () { | 6 | do_install_ptest () { |
7 | mkdir -p ${D}${PTEST_PATH} | 7 | mkdir -p ${D}${PTEST_PATH} |
8 | sed -e "s:\/usr\/local:${bindir}:g" -i cpan/version/t/* | ||
8 | sed -e "s:\/opt:\/usr:" -i Porting/add-package.pl | 9 | sed -e "s:\/opt:\/usr:" -i Porting/add-package.pl |
9 | sed -e "s:\/local\/gnu\/:\/:" -i hints/cxux.sh | 10 | sed -e "s:\/local\/gnu\/:\/:" -i hints/cxux.sh |
10 | tar -cf - --exclude \*.o --exclude libperl.so --exclude Makefile --exclude makefile --exclude hostperl \ | 11 | tar -cf - --exclude \*.o --exclude libperl.so --exclude Makefile --exclude makefile --exclude hostperl \ |