[oe-commits] [bitbake] 02/02: lib/bb/build.py: remove task flag in deltask()

git at git.openembedded.org git at git.openembedded.org
Mon Jun 20 16:25:04 UTC 2016


rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 4af55b187c9cb235d1afb0184d734436a571818f
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Tue Jun 14 19:42:10 2016 -0700

    lib/bb/build.py: remove task flag in deltask()
    
    Otherwise the function like d.getVarFlag(e, 'task', True) which is used by
    do_listtasks will still get it, and list the deleted tasks.
    
    Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/build.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bb/build.py b/lib/bb/build.py
index 43d9ebf..b681805 100644
--- a/lib/bb/build.py
+++ b/lib/bb/build.py
@@ -782,6 +782,7 @@ def deltask(task, d):
     bbtasks = d.getVar('__BBTASKS', False) or []
     if task in bbtasks:
         bbtasks.remove(task)
+        d.delVarFlag(task, 'task')
         d.setVar('__BBTASKS', bbtasks)
 
     d.delVarFlag(task, 'deps')

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list