diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-02-26 21:41:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-27 07:36:05 +0000 |
commit | f116c32f2a6ed34fc6ab34bae9e1a1e550724208 (patch) | |
tree | 1d080431fca9f2d1725ab7e7719bf5c273c6b0ca /bitbake/lib/bb/ui | |
parent | 2d1d6a8ee63db03afefced40c9242cd9d7294c6a (diff) | |
download | ast2050-yocto-poky-f116c32f2a6ed34fc6ab34bae9e1a1e550724208.zip ast2050-yocto-poky-f116c32f2a6ed34fc6ab34bae9e1a1e550724208.tar.gz |
bitbake: toasterui: fix sstate task identification
This patch fixes a problem where set sstate scene tasks
were not identified, causing cache attempt not being recorded.
[YOCTO #7223]
(Bitbake rev: 8a326a9a5a08981f1b7960e02fdb8a9436db16fb)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 967e4bd..c0f42d2 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py @@ -190,8 +190,8 @@ class ORMWrapper(object): vars(task_object)[v] = task_information[v] object_changed = True - # update setscene-related information if the task was just created - if created and task_object.outcome == Task.OUTCOME_COVERED and 1 == Task.objects.related_setscene(task_object).count(): + # update setscene-related information if the task has a setscene + if task_object.outcome == Task.OUTCOME_COVERED and 1 == task_object.get_related_setscene().count(): task_object.outcome = Task.OUTCOME_CACHED object_changed = True |