summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 704a6c45d4..adafa80770 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -41,7 +41,7 @@ from multiprocessing import Process
41bblogger = logging.getLogger("BitBake") 41bblogger = logging.getLogger("BitBake")
42logger = logging.getLogger("BitBake.RunQueue") 42logger = logging.getLogger("BitBake.RunQueue")
43 43
44__find_md5__ = re.compile( r'(?i)(?<![a-z0-9])[a-f0-9]{32}(?![a-z0-9])' ) 44__find_sha256__ = re.compile( r'(?i)(?<![a-z0-9])[a-f0-9]{64}(?![a-z0-9])' )
45 45
46def fn_from_tid(tid): 46def fn_from_tid(tid):
47 return tid.rsplit(":", 1)[0] 47 return tid.rsplit(":", 1)[0]
@@ -1676,7 +1676,7 @@ class RunQueue:
1676 matches = {k : v for k, v in iter(matches.items()) if h not in k} 1676 matches = {k : v for k, v in iter(matches.items()) if h not in k}
1677 if matches: 1677 if matches:
1678 latestmatch = sorted(matches.keys(), key=lambda f: matches[f])[-1] 1678 latestmatch = sorted(matches.keys(), key=lambda f: matches[f])[-1]
1679 prevh = __find_md5__.search(latestmatch).group(0) 1679 prevh = __find_sha256__.search(latestmatch).group(0)
1680 output = bb.siggen.compare_sigfiles(latestmatch, match, recursecb) 1680 output = bb.siggen.compare_sigfiles(latestmatch, match, recursecb)
1681 bb.plain("\nTask %s:%s couldn't be used from the cache because:\n We need hash %s, closest matching task was %s\n " % (pn, taskname, h, prevh) + '\n '.join(output)) 1681 bb.plain("\nTask %s:%s couldn't be used from the cache because:\n We need hash %s, closest matching task was %s\n " % (pn, taskname, h, prevh) + '\n '.join(output))
1682 1682