summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRenato Caldas <rm.santos.caldas@gmail.com>2016-05-30 22:47:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-29 19:36:00 +0100
commitb2ab8f432137035129490eb6eda014435410afed (patch)
tree5dae8c5d65262f9017f89c33b5bec2fe7b3001a1 /meta/recipes-devtools
parent76a4804f2b0968c3d698bbbdc626191f77a601e0 (diff)
downloadpoky-b2ab8f432137035129490eb6eda014435410afed.tar.gz
perl: reorder tar arguments in do_install_ptest()
On some distributions tar requires the FILE argument to be the last, and the existing order was causing the subsequent --exclude options to be dropped. Fixes [YOCTO #9673]. (From OE-Core rev: aef455c655f610eada6899d9f59caf0bdda11795) Signed-off-by: Renato Caldas <rm.santos.caldas@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/perl/perl-ptest.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc
index 948ea7cddf..66c5355854 100644
--- a/meta/recipes-devtools/perl/perl-ptest.inc
+++ b/meta/recipes-devtools/perl/perl-ptest.inc
@@ -7,8 +7,8 @@ do_install_ptest () {
7 mkdir -p ${D}${PTEST_PATH} 7 mkdir -p ${D}${PTEST_PATH}
8 sed -e "s:\/opt:\/usr:" -i Porting/add-package.pl 8 sed -e "s:\/opt:\/usr:" -i Porting/add-package.pl
9 sed -e "s:\/local\/gnu\/:\/:" -i hints/cxux.sh 9 sed -e "s:\/local\/gnu\/:\/:" -i hints/cxux.sh
10 tar -cf - * --exclude \*.o --exclude libperl.so --exclude Makefile --exclude makefile --exclude hostperl \ 10 tar -cf - --exclude \*.o --exclude libperl.so --exclude Makefile --exclude makefile --exclude hostperl \
11 --exclude miniperl --exclude generate_uudmap --exclude patches | ( cd ${D}${PTEST_PATH} && tar -xf - ) 11 --exclude miniperl --exclude generate_uudmap --exclude patches * | ( cd ${D}${PTEST_PATH} && tar -xf - )
12 12
13 sed -i -e "s,${D},,g" \ 13 sed -i -e "s,${D},,g" \
14 -e "s,--sysroot=${STAGING_DIR_HOST},,g" \ 14 -e "s,--sysroot=${STAGING_DIR_HOST},,g" \