[OE-core] [PATCH 1/2] utility-tasks.bbclass: fix do_listtasks

Christopher Larson clarson at kergoth.com
Thu May 26 14:30:19 UTC 2016


On Thu, May 26, 2016 at 1:12 AM, Robert Yang <liezhi.yang at windriver.com>
wrote:

> On 05/25/2016 07:17 PM, Burton, Ross wrote:
>
>>
>> On 25 May 2016 at 10:23, Robert Yang <liezhi.yang at windriver.com
>> <mailto:liezhi.yang at windriver.com>> wrote:
>>
>>     It lists deleted tasks which is unexpected, use __BBTASKS to fix the
>>     problem since deltask() which is defined in bitbake/lib/bb/build.py
>>     updates __BBTASKS correctly.
>>
>>
>> Wouldn't an alternative be to change deltask so that it also remove the
>> "task"
>> flag from the variable?
>>
>
> The problem is, if we do:
>
> d.delVarFlag(task, 'task')
>
> Then maybe we should remove the whole task from d rather than only
> remove the flags ?


IMO, no, deltask and addtask control whether an existing function is a task
or not, so can be run like a task. If you want the variable deleted, that's
what delVar is for.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160526/8507dd9a/attachment-0002.html>


More information about the Openembedded-core mailing list