]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: siggen: Ensure taskhash mismatches don't override existing data
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Nov 2016 15:07:33 +0000 (15:07 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Nov 2016 10:37:58 +0000 (10:37 +0000)
commita34582a85ebf48c4865a2563443ac8dd075c15fa
tree846945cdd908bbe4389f8aec7be4c9898568fe8c
parentf17446b645f3f12f804c3920fcb8458698463ab4
bitbake: siggen: Ensure taskhash mismatches don't override existing data

We recalculate the taskhash to ensure the version we have matches
what we think it should be. When we write out a sigdata file, use
the calculated value so that we don't overwrite any existing file.
This leaves any original taskhash sigdata file intact to allow a
debugging comparison.

(Bitbake rev: dac68af6f4add9c99cb7adcf23b2ae89b96ca075)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/siggen.py