Openembedded Bitbake Development
 help / color / mirror / Atom feed
* [PATCH] bitbake: runqueue: Use multiconfig name to fetch unihash
@ 2019-01-07 19:23 Joshua Watt
  0 siblings, 0 replies; only message in thread
From: Joshua Watt @ 2019-01-07 19:23 UTC (permalink / raw)
  To: bitbake-devel; +Cc: alejandro.enedino.hernandez-samaniego

The unihash should be fetched using the task filename that includes the
multiconfig prefixes.

[YOCTO #13124]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 bitbake/lib/bb/runqueue.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 00a14ebde06..0e6cc31f309 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1168,7 +1168,7 @@ class RunQueueData:
             procdep.append(fn_from_tid(dep) + "." + taskname_from_tid(dep))
         (mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
         self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(taskfn, taskname, procdep, self.dataCaches[mc])
-        self.runtaskentries[tid].unihash = bb.parse.siggen.get_unihash(fn + "." + taskname)
+        self.runtaskentries[tid].unihash = bb.parse.siggen.get_unihash(taskfn + "." + taskname)
 
     def dump_data(self):
         """
@@ -1932,7 +1932,7 @@ class RunQueueExecuteTasks(RunQueueExecute):
         (mc, fn, taskname, taskfn) = split_tid_mcfn(task)
 
         old_unihash = self.rqdata.runtaskentries[task].unihash
-        new_unihash = bb.parse.siggen.get_unihash(fn + '.' + taskname)
+        new_unihash = bb.parse.siggen.get_unihash(taskfn + '.' + taskname)
 
         unihash_changed = old_unihash != new_unihash
         if unihash_changed:
-- 
2.20.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-07 19:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-07 19:23 [PATCH] bitbake: runqueue: Use multiconfig name to fetch unihash Joshua Watt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox