* [master][PATCH] perl: reorder tar arguments in do_install_ptest()
@ 2016-05-30 21:45 Renato Caldas
2016-05-30 21:49 ` Aníbal Limón
0 siblings, 1 reply; 3+ messages in thread
From: Renato Caldas @ 2016-05-30 21:45 UTC (permalink / raw)
To: openembedded-core; +Cc: Armin Kuster
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
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [master][PATCH] perl: reorder tar arguments in do_install_ptest()
2016-05-30 21:45 [master][PATCH] perl: reorder tar arguments in do_install_ptest() Renato Caldas
@ 2016-05-30 21:49 ` Aníbal Limón
2016-05-30 21:50 ` Renato Caldas
0 siblings, 1 reply; 3+ messages in thread
From: Aníbal Limón @ 2016-05-30 21:49 UTC (permalink / raw)
To: Renato Caldas, openembedded-core; +Cc: Armin Kuster
[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]
Thanks for sending the patch, only a little comment the [master] prefix
isn't required.
alimon
On 05/30/2016 04:45 PM, Renato Caldas wrote:
> 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" \
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [master][PATCH] perl: reorder tar arguments in do_install_ptest()
2016-05-30 21:49 ` Aníbal Limón
@ 2016-05-30 21:50 ` Renato Caldas
0 siblings, 0 replies; 3+ messages in thread
From: Renato Caldas @ 2016-05-30 21:50 UTC (permalink / raw)
To: Aníbal Limón; +Cc: Armin Kuster, openembedded-core
2016-05-30 22:49 GMT+01:00 Aníbal Limón <anibal.limon@linux.intel.com>:
> Thanks for sending the patch, only a little comment the [master] prefix
> isn't required.
I know, I meant to type "krogoth".. noticed the error shortly after
sending it :)
>
> alimon
>
> On 05/30/2016 04:45 PM, Renato Caldas wrote:
>> 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" \
>>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-30 21:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-30 21:45 [master][PATCH] perl: reorder tar arguments in do_install_ptest() Renato Caldas
2016-05-30 21:49 ` Aníbal Limón
2016-05-30 21:50 ` Renato Caldas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox