[oe-commits] [openembedded-core] 72/94: perl: reorder tar arguments in do_install_ptest()

git at git.openembedded.org git at git.openembedded.org
Wed Jun 29 18:37:36 UTC 2016


rpurdie pushed a commit to branch krogoth
in repository openembedded-core.

commit aef455c655f610eada6899d9f59caf0bdda11795
Author: Renato Caldas <rm.santos.caldas at gmail.com>
AuthorDate: Mon May 30 22:47:03 2016 +0100

    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].
    
    Signed-off-by: Renato Caldas <rm.santos.caldas at gmail.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-devtools/perl/perl-ptest.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc
index 948ea7c..66c5355 100644
--- a/meta/recipes-devtools/perl/perl-ptest.inc
+++ b/meta/recipes-devtools/perl/perl-ptest.inc
@@ -7,8 +7,8 @@ do_install_ptest () {
 	mkdir -p ${D}${PTEST_PATH}
 	sed -e "s:\/opt:\/usr:" -i Porting/add-package.pl
 	sed -e "s:\/local\/gnu\/:\/:" -i hints/cxux.sh
-	tar -cf - * --exclude \*.o --exclude libperl.so --exclude Makefile --exclude makefile --exclude hostperl \
-		--exclude miniperl --exclude generate_uudmap --exclude patches | ( cd ${D}${PTEST_PATH} && tar -xf - )
+	tar -cf - --exclude \*.o --exclude libperl.so --exclude Makefile --exclude makefile --exclude hostperl \
+		--exclude miniperl --exclude generate_uudmap --exclude patches * | ( cd ${D}${PTEST_PATH} && tar -xf - )
 
 	sed -i -e "s,${D},,g" \
 	       -e "s,--sysroot=${STAGING_DIR_HOST},,g" \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list