From 779d73619daf59f76f5b0313e7fb5409f6e82553 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 14 Jun 2016 19:42:10 -0700 Subject: 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 Signed-off-by: Richard Purdie --- lib/bb/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bb/build.py b/lib/bb/build.py index e016ae3f4..2ebe67306 100644 --- a/lib/bb/build.py +++ b/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') -- cgit 1.2.3-korg