diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-29 17:28:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-06 11:21:32 +0100 |
commit | 4fbb862cdcdcfa44da83f9a7e7a74ab518ef67d0 (patch) | |
tree | 0fa843c4a2f3f5c7dc69907cb4e40d47c9443109 /bitbake/lib/bb/data.py | |
parent | 40a5e193c4ba45c928fccd899415ea56b5417725 (diff) | |
download | poky-4fbb862cdcdcfa44da83f9a7e7a74ab518ef67d0.tar.gz |
bitbake: siggen: Clean up task reference formats
Currently siggen uses the format "<filename>.<taskname>" for referencing tasks
whilst runqueue uses "<filename>:<taskname>". This converts to use ":" as the
separator everywhere.
This is an API breaking change since the cache is affected, as are siginfo files
and any custom signature handlers such as those in OE-Core.
Ultimately this will let us clean up and the accessor functions from runqueue,
removing all the ".rsplit(".", 1)[0]" type code currently all over the place.
Once a standard is used everwhere we can update the code over time to be more
optimal.
(Bitbake rev: 07e539e1c566ca3434901e1a00335cb76c69d496)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r-- | bitbake/lib/bb/data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py index 92ef405304..443615b977 100644 --- a/bitbake/lib/bb/data.py +++ b/bitbake/lib/bb/data.py | |||
@@ -422,7 +422,7 @@ def generate_dependency_hash(tasklist, gendeps, lookupcache, whitelist, fn): | |||
422 | var = lookupcache[dep] | 422 | var = lookupcache[dep] |
423 | if var is not None: | 423 | if var is not None: |
424 | data = data + str(var) | 424 | data = data + str(var) |
425 | k = fn + "." + task | 425 | k = fn + ":" + task |
426 | basehash[k] = hashlib.sha256(data.encode("utf-8")).hexdigest() | 426 | basehash[k] = hashlib.sha256(data.encode("utf-8")).hexdigest() |
427 | taskdeps[task] = alldeps | 427 | taskdeps[task] = alldeps |
428 | 428 | ||