[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] [jethro][PATCH] perl: reorder tar arguments in do_install_ptest()
From:       Renato Caldas <rm.santos.caldas () gmail ! com>
Date:       2016-05-31 10:53:55
Message-ID: CA+21M5CNo9kBZ_DUGNkYbS=9Rokc5ccs=_Dgf6UNfJ06z-CYtA () mail ! gmail ! com
[Download RAW message or body]

Hi,

I just received a request to submit this patch to jethro, as some
people are still dependent on that version of yocto.

Cheers,
  Renato

2016-05-31 11:50 GMT+01:00 Renato Caldas <rm.santos.caldas@gmail.com>:
> 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@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" \
> --
> 2.8.3
> 
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic