* [PATCH 0/1] lib/bb/build.py: remove task flag in deltask()
@ 2016-06-15 2:42 Robert Yang
2016-06-15 2:42 ` [PATCH 1/1] " Robert Yang
0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2016-06-15 2:42 UTC (permalink / raw)
To: bitbake-devel
The following changes since commit 71765a90d1ff455608a006ed32cf42110e779217:
bitbake: cooker.py: fix warn() -> warning() (2016-06-13 12:16:10 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib rbt/deltask
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/deltask
Robert Yang (1):
lib/bb/build.py: remove task flag in deltask()
bitbake/lib/bb/build.py | 1 +
1 file changed, 1 insertion(+)
--
2.8.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] lib/bb/build.py: remove task flag in deltask()
2016-06-15 2:42 [PATCH 0/1] lib/bb/build.py: remove task flag in deltask() Robert Yang
@ 2016-06-15 2:42 ` Robert Yang
0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2016-06-15 2:42 UTC (permalink / raw)
To: bitbake-devel
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@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-15 2:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-15 2:42 [PATCH 0/1] lib/bb/build.py: remove task flag in deltask() Robert Yang
2016-06-15 2:42 ` [PATCH 1/1] " Robert Yang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.