All of lore.kernel.org
 help / color / mirror / Atom feed
* Force clean of dependencies
@ 2009-05-22 14:45 Ambrose, Martin
  2009-05-22 16:18 ` Koen Kooi
  0 siblings, 1 reply; 6+ messages in thread
From: Ambrose, Martin @ 2009-05-22 14:45 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Hello.

I have searched this list and googled but can't find a way to force a clean of
a package's dependencies. 

My example is that of mplayer which has ~17 dependent packages and I would like
to clean them all so I can rebuild with a different toolchain.

When executing
	bitbake mplayer -c clean
 
It cleans the mplayer tmp/working directory but does not touch any of the
dependent's working directories. My solution so far has been to write scripts
which clean each one of the dependencies explicitly. Is there a cleaner and/or 
a more standard method within OE? 

Regards,
Martin




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

* Re: Force clean of dependencies
  2009-05-22 14:45 Force clean of dependencies Ambrose, Martin
@ 2009-05-22 16:18 ` Koen Kooi
  2009-05-22 18:30   ` Ambrose, Martin
  0 siblings, 1 reply; 6+ messages in thread
From: Koen Kooi @ 2009-05-22 16:18 UTC (permalink / raw)
  To: openembedded-devel

On 22-05-09 16:45, Ambrose, Martin wrote:
> Hello.
>
> I have searched this list and googled but can't find a way to force a clean of
> a package's dependencies.

BB_STAMP_POLICY = "whitelist"?

regards,

Koen




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

* Re: Force clean of dependencies
  2009-05-22 16:18 ` Koen Kooi
@ 2009-05-22 18:30   ` Ambrose, Martin
  2009-05-22 19:17     ` Koen Kooi
  0 siblings, 1 reply; 6+ messages in thread
From: Ambrose, Martin @ 2009-05-22 18:30 UTC (permalink / raw)
  To: openembedded-devel@openembedded.org

On Fri, May 22, 2009 at 11:18:07, Koen Kooi wrote:

> > I have searched this list and googled but can't find a way 
> > to force a clean of
> > a package's dependencies.
> 
> BB_STAMP_POLICY = "whitelist"?
 
Thanks for the suggestion but it doesn't seem to work for me.
Looking at the mplayer recipe, e.g, the DEPENDS list includes freetype.
So my hope is that the latter 'ls' command in the following sequence
would be empty but it  is not.

$ ls work/armv5te-none-linux-gnueabi | grep freetype
freetype-2.3.6-r0

$ BB_STAMP_POLICY="whitelist" bitbake mplayer -c clean

$ ls work/armv5te-none-linux-gnueabi | grep freetype
freetype-2.3.6-r0


Regards, 
Martin



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

* Re: Force clean of dependencies
  2009-05-22 18:30   ` Ambrose, Martin
@ 2009-05-22 19:17     ` Koen Kooi
  2009-05-24 20:19       ` Denys Dmytriyenko
  0 siblings, 1 reply; 6+ messages in thread
From: Koen Kooi @ 2009-05-22 19:17 UTC (permalink / raw)
  To: openembedded-devel

On 22-05-09 20:30, Ambrose, Martin wrote:
> On Fri, May 22, 2009 at 11:18:07, Koen Kooi wrote:
>
>>> I have searched this list and googled but can't find a way
>>> to force a clean of
>>> a package's dependencies.
>>
>> BB_STAMP_POLICY = "whitelist"?
>
> Thanks for the suggestion but it doesn't seem to work for me.
> Looking at the mplayer recipe, e.g, the DEPENDS list includes freetype.
> So my hope is that the latter 'ls' command in the following sequence
> would be empty but it  is not.
>
> $ ls work/armv5te-none-linux-gnueabi | grep freetype
> freetype-2.3.6-r0
>
> $ BB_STAMP_POLICY="whitelist" bitbake mplayer -c clean

Is BB_STAMP_POLICY in BB_ENV_*WHITE for you? If not, you need to set it 
in local.conf.
Also, BB_STAMP_POLICY works in the other direction, it will invalidate 
mplayer if you touch freetype.

regards,

Koen




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

* Re: Force clean of dependencies
  2009-05-22 19:17     ` Koen Kooi
@ 2009-05-24 20:19       ` Denys Dmytriyenko
  2009-06-01 22:09         ` Ambrose, Martin
  0 siblings, 1 reply; 6+ messages in thread
From: Denys Dmytriyenko @ 2009-05-24 20:19 UTC (permalink / raw)
  To: openembedded-devel

On Fri, May 22, 2009 at 09:17:29PM +0200, Koen Kooi wrote:
> On 22-05-09 20:30, Ambrose, Martin wrote:
>> On Fri, May 22, 2009 at 11:18:07, Koen Kooi wrote:
>>
>>>> I have searched this list and googled but can't find a way
>>>> to force a clean of
>>>> a package's dependencies.
>>>
>>> BB_STAMP_POLICY = "whitelist"?
>>
>> Thanks for the suggestion but it doesn't seem to work for me.
>> Looking at the mplayer recipe, e.g, the DEPENDS list includes freetype.
>> So my hope is that the latter 'ls' command in the following sequence
>> would be empty but it  is not.
>>
>> $ ls work/armv5te-none-linux-gnueabi | grep freetype
>> freetype-2.3.6-r0
>>
>> $ BB_STAMP_POLICY="whitelist" bitbake mplayer -c clean
>
> Is BB_STAMP_POLICY in BB_ENV_*WHITE for you? If not, you need to set it in 
> local.conf.

I believe Martin has BB_PRESERVE_ENV=1 set, which is default in Arago for now.

> Also, BB_STAMP_POLICY works in the other direction, it will invalidate 
> mplayer if you touch freetype.

-- 
Denys



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

* Re: Force clean of dependencies
  2009-05-24 20:19       ` Denys Dmytriyenko
@ 2009-06-01 22:09         ` Ambrose, Martin
  0 siblings, 0 replies; 6+ messages in thread
From: Ambrose, Martin @ 2009-06-01 22:09 UTC (permalink / raw)
  To: openembedded-devel@openembedded.org

On Sun, May 24, 2009 at 15:19:17, Denys Dmytriyenko wrote:

> > On 22-05-09 20:30, Ambrose, Martin wrote:
> >> On Fri, May 22, 2009 at 11:18:07, Koen Kooi wrote:
> >>
> >>>> I have searched this list and googled but can't find a way
> >>>> to force a clean of
> >>>> a package's dependencies.
> >>>
> >>> BB_STAMP_POLICY = "whitelist"?
> >>
> >> Thanks for the suggestion but it doesn't seem to work for me.
> >> Looking at the mplayer recipe, e.g, the DEPENDS list 
> includes freetype.
> >> So my hope is that the latter 'ls' command in the 
> following sequence
> >> would be empty but it  is not.
> >>
> >> $ ls work/armv5te-none-linux-gnueabi | grep freetype
> >> freetype-2.3.6-r0
> >>
> >> $ BB_STAMP_POLICY="whitelist" bitbake mplayer -c clean
> >
> > Is BB_STAMP_POLICY in BB_ENV_*WHITE for you? If not, you 
> need to set it in 
> > local.conf.
> 
> I believe Martin has BB_PRESERVE_ENV=1 set, which is default 
> in Arago for now.

Yes. The comment above this setting indicates that the whitelist
feature is broken for now.
 
> > Also, BB_STAMP_POLICY works in the other direction, it will 
> invalidate 
> > mplayer if you touch freetype.

Is there a variable setting which forces cleaning of dependencies?

FWIW I found this link but haven't tried yet which uses a script,
outside of bitbake, to parse the package for dependencies and cleans
them as instructed.
http://www.uv-ac.de/openembedded/openembedded-6.html#ss6.2


Regards, 
Martin



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

end of thread, other threads:[~2009-06-01 22:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-22 14:45 Force clean of dependencies Ambrose, Martin
2009-05-22 16:18 ` Koen Kooi
2009-05-22 18:30   ` Ambrose, Martin
2009-05-22 19:17     ` Koen Kooi
2009-05-24 20:19       ` Denys Dmytriyenko
2009-06-01 22:09         ` Ambrose, Martin

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.