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 | 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 967e4bdca2..c0f42d2dcb 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
@@ -190,8 +190,8 @@ class ORMWrapper(object): | |||
190 | vars(task_object)[v] = task_information[v] | 190 | vars(task_object)[v] = task_information[v] |
191 | object_changed = True | 191 | object_changed = True |
192 | 192 | ||
193 | # update setscene-related information if the task was just created | 193 | # update setscene-related information if the task has a setscene |
194 | if created and task_object.outcome == Task.OUTCOME_COVERED and 1 == Task.objects.related_setscene(task_object).count(): | 194 | if task_object.outcome == Task.OUTCOME_COVERED and 1 == task_object.get_related_setscene().count(): |
195 | task_object.outcome = Task.OUTCOME_CACHED | 195 | task_object.outcome = Task.OUTCOME_CACHED |
196 | object_changed = True | 196 | object_changed = True |
197 | 197 | ||