diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 4 |
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 | |||
41 | bblogger = logging.getLogger("BitBake") | 41 | bblogger = logging.getLogger("BitBake") |
42 | logger = logging.getLogger("BitBake.RunQueue") | 42 | logger = 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 | ||
46 | def fn_from_tid(tid): | 46 | def 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 | ||