[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1067/8267] bitbake: lib/bb/build.py: remove task flag in deltask()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 1067/8267] bitbake: lib/bb/build.py: remove task flag in deltask()
- Date: Sat, 16 Dec 2017 21:18:29 +0000 (UTC)
commit c6d50b272936b61b98a056ea2e1de5d0f4ef53ce
Author: Robert Yang <liezhi yang windriver com>
Date: Tue Jun 14 19:42:10 2016 -0700
bitbake: 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.
(Bitbake rev: 779d73619daf59f76f5b0313e7fb5409f6e82553)
Signed-off-by: Robert Yang <liezhi yang windriver com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
bitbake/lib/bb/build.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
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')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]