[bitbake-devel] [PATCH 1/1] lib/bb/build.py: remove task flag in deltask()
Robert Yang
liezhi.yang at windriver.com
Wed Jun 15 02:42:10 UTC 2016
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>
---
bitbake/lib/bb/build.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index e016ae3..2ebe673 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -778,6 +778,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')
--
2.8.0
More information about the bitbake-devel
mailing list