* rm_work not cleaning up when doing "-c populate_sdk"
@ 2014-05-04 20:04 Jacob Kroon
2014-05-05 2:21 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Jacob Kroon @ 2014-05-04 20:04 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 584 bytes --]
Hello,
I'm using the rm_work class in my setup, and I noticed that the work
directories for all my nativesdk-* packages we're not being cleaned up.
I do "bitbake -c populate_sdk my-image" to create the SDK.
From what I can tell by looking at rm_work.class, the rm_work task is
appended at the end, but for some reason rm_work is not executed.
If I do "bitbake nativesdk-<somepackage>", rm_work is indeed executed.
Would it be possible to hook in rm_work in the populate_sdk case as well ?
Or is there another way of executing rm_work for all packages ?
-- Jacob
[-- Attachment #2: Type: text/html, Size: 757 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rm_work not cleaning up when doing "-c populate_sdk"
2014-05-04 20:04 rm_work not cleaning up when doing "-c populate_sdk" Jacob Kroon
@ 2014-05-05 2:21 ` Khem Raj
2014-05-05 8:10 ` ChenQi
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2014-05-05 2:21 UTC (permalink / raw)
To: Jacob Kroon; +Cc: openembedded-core
On Sun, May 4, 2014 at 1:04 PM, Jacob Kroon <jacob.kroon@gmail.com> wrote:
> Hello,
>
> I'm using the rm_work class in my setup, and I noticed that the work
> directories for all my nativesdk-* packages we're not being cleaned up.
>
> I do "bitbake -c populate_sdk my-image" to create the SDK.
>
> From what I can tell by looking at rm_work.class, the rm_work task is
> appended at the end, but for some reason rm_work is not executed.
>
> If I do "bitbake nativesdk-<somepackage>", rm_work is indeed executed.
>
> Would it be possible to hook in rm_work in the populate_sdk case as well ?
> Or is there another way of executing rm_work for all packages ?
>
rm_work is run before BB_DEFAULT_TASK which is set to 'do_build' in bitbake.conf
populate_sdk is added to be executed before do_build as well but there
is no dependency
of rm_work on populate_sdk thats the issue here they are independent.
> -- Jacob
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rm_work not cleaning up when doing "-c populate_sdk"
2014-05-05 2:21 ` Khem Raj
@ 2014-05-05 8:10 ` ChenQi
0 siblings, 0 replies; 3+ messages in thread
From: ChenQi @ 2014-05-05 8:10 UTC (permalink / raw)
To: openembedded-core
I've sent out a patch to the list, trying to fix this problem.
Please take a look at it if convenient.
Best Regards,
Chen Qi
On 05/05/2014 10:21 AM, Khem Raj wrote:
> On Sun, May 4, 2014 at 1:04 PM, Jacob Kroon <jacob.kroon@gmail.com> wrote:
>> Hello,
>>
>> I'm using the rm_work class in my setup, and I noticed that the work
>> directories for all my nativesdk-* packages we're not being cleaned up.
>>
>> I do "bitbake -c populate_sdk my-image" to create the SDK.
>>
>> From what I can tell by looking at rm_work.class, the rm_work task is
>> appended at the end, but for some reason rm_work is not executed.
>>
>> If I do "bitbake nativesdk-<somepackage>", rm_work is indeed executed.
>>
>> Would it be possible to hook in rm_work in the populate_sdk case as well ?
>> Or is there another way of executing rm_work for all packages ?
>>
> rm_work is run before BB_DEFAULT_TASK which is set to 'do_build' in bitbake.conf
>
> populate_sdk is added to be executed before do_build as well but there
> is no dependency
> of rm_work on populate_sdk thats the issue here they are independent.
>
>
>
>> -- Jacob
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-05 8:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-04 20:04 rm_work not cleaning up when doing "-c populate_sdk" Jacob Kroon
2014-05-05 2:21 ` Khem Raj
2014-05-05 8:10 ` ChenQi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox