[oe-commits] [bitbake] 02/04: lib/bb/build.py: remove task flag in deltask()
git at git.openembedded.org
git at git.openembedded.org
Thu Jun 16 10:55:34 UTC 2016
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 1a4dfe238c61fc69d676f9580f36e71a041c8d64
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