All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] linux-storcenter: fix circular dependency between do_package and do_deploy
@ 2010-01-23  9:36 Guo Hongruan
  2010-01-23  9:51 ` Holger Hans Peter Freyther
  0 siblings, 1 reply; 5+ messages in thread
From: Guo Hongruan @ 2010-01-23  9:36 UTC (permalink / raw)
  To: openembedded-devel

* 'addtask deploy' sentence in linux-storcenter_2.6.27.7.bb conflicts with the same one in kernel.bbclass and causes circular dependency between do_package and do_deploy

Signed-off-by: Guo Hongruan <camelguo@gmail.com>
---
 recipes/linux/linux-storcenter_2.6.27.7.bb |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/recipes/linux/linux-storcenter_2.6.27.7.bb b/recipes/linux/linux-storcenter_2.6.27.7.bb
index b403cda..e842ab7 100644
--- a/recipes/linux/linux-storcenter_2.6.27.7.bb
+++ b/recipes/linux/linux-storcenter_2.6.27.7.bb
@@ -53,5 +53,3 @@ do_deploy() {
 }
 
 do_deploy[dirs] = "${S}"
-
-addtask deploy before do_package after do_install
-- 
1.5.4.3




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] linux-storcenter: fix circular dependency between do_package and do_deploy
  2010-01-23  9:36 [PATCH] linux-storcenter: fix circular dependency between do_package and do_deploy Guo Hongruan
@ 2010-01-23  9:51 ` Holger Hans Peter Freyther
  2010-01-23  9:55   ` Guo Hongruan
  0 siblings, 1 reply; 5+ messages in thread
From: Holger Hans Peter Freyther @ 2010-01-23  9:51 UTC (permalink / raw)
  To: openembedded-devel

On Saturday 23 January 2010 10:36:07 Guo Hongruan wrote:
> * 'addtask deploy' sentence in linux-storcenter_2.6.27.7.bb conflicts with
>  the same one in kernel.bbclass and causes circular dependency between
>  do_package and do_deploy

Could you please grep through recipes/linux and see how many more issues we 
have of the same kind?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] linux-storcenter: fix circular dependency between do_package and do_deploy
  2010-01-23  9:51 ` Holger Hans Peter Freyther
@ 2010-01-23  9:55   ` Guo Hongruan
  2010-01-23 10:10     ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Guo Hongruan @ 2010-01-23  9:55 UTC (permalink / raw)
  To: openembedded-devel

Yes, I did.

the same question exists in
recipes/linux/gumstix-linux.inc|72| addtask deploy before do_package after  
do_install
which may cause circular dependency too.

在 Sat, 23 Jan 2010 17:51:06 +0800,Holger Hans Peter Freyther  
<holger+oe@freyther.de> 写道:

> On Saturday 23 January 2010 10:36:07 Guo Hongruan wrote:
>> * 'addtask deploy' sentence in linux-storcenter_2.6.27.7.bb conflicts  
>> with
>>  the same one in kernel.bbclass and causes circular dependency between
>>  do_package and do_deploy
>
> Could you please grep through recipes/linux and see how many more issues  
> we
> have of the same kind?
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


-- 
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] linux-storcenter: fix circular dependency between do_package and do_deploy
  2010-01-23  9:55   ` Guo Hongruan
@ 2010-01-23 10:10     ` Martin Jansa
  2010-01-23 10:25       ` Guo Hongruan
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2010-01-23 10:10 UTC (permalink / raw)
  To: openembedded-devel

On Sat, Jan 23, 2010 at 05:55:54PM +0800, Guo Hongruan wrote:
> Yes, I did.
> 
> the same question exists in
> recipes/linux/gumstix-linux.inc|72| addtask deploy before do_package
> after do_install
> which may cause circular dependency too.

But if you just remove that line, the custom do_deploy task won't be
used at all IIRC.. so proper fix would be to adjust after and before
like in a55e9a527a8c9823044196d031f2da2783ff8f35 and then
bc2bddb71d8c5db25b80aa6435392ec1c8df39f9

Probably:
addtask deploy before do_build after do_package

but please check
before do_build was needed to force it run at all (for -c build)
after do_package was used, because we're packing already stripped
modules to modules.tgz and we needed to have packages-split already
populated.

Regards,

-- 
uin:136542059                jid:Martin.Jansa@gmail.com
Jansa Martin                 sip:jamasip@voip.wengo.fr 
JaMa                         



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] linux-storcenter: fix circular dependency between do_package and do_deploy
  2010-01-23 10:10     ` Martin Jansa
@ 2010-01-23 10:25       ` Guo Hongruan
  0 siblings, 0 replies; 5+ messages in thread
From: Guo Hongruan @ 2010-01-23 10:25 UTC (permalink / raw)
  To: openembedded-devel

the do_deploy task has been added in kernel.bbclass, which defines the  
proper order for these tasks. So it should be safe to remove 'addtask  
deploy' from the recipe.

在 Sat, 23 Jan 2010 18:10:47 +0800,Martin Jansa <martin.jansa@gmail.com>  
写道:

> On Sat, Jan 23, 2010 at 05:55:54PM +0800, Guo Hongruan wrote:
>> Yes, I did.
>>
>> the same question exists in
>> recipes/linux/gumstix-linux.inc|72| addtask deploy before do_package
>> after do_install
>> which may cause circular dependency too.
>
> But if you just remove that line, the custom do_deploy task won't be
> used at all IIRC.. so proper fix would be to adjust after and before
> like in a55e9a527a8c9823044196d031f2da2783ff8f35 and then
> bc2bddb71d8c5db25b80aa6435392ec1c8df39f9
>
> Probably:
> addtask deploy before do_build after do_package
>
> but please check
> before do_build was needed to force it run at all (for -c build)
> after do_package was used, because we're packing already stripped
> modules to modules.tgz and we needed to have packages-split already
> populated.
>
> Regards,
>


-- 
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-01-23 10:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-23  9:36 [PATCH] linux-storcenter: fix circular dependency between do_package and do_deploy Guo Hongruan
2010-01-23  9:51 ` Holger Hans Peter Freyther
2010-01-23  9:55   ` Guo Hongruan
2010-01-23 10:10     ` Martin Jansa
2010-01-23 10:25       ` Guo Hongruan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.