Re: rm_work not cleaning up when doing "-c populate_sdk"

ChenQi
2014-05-05T08:11:06Z

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
>>