summaryrefslogtreecommitdiffstats
path: root/lib/bb/server/xmlrpc.py
diff options
context:
space:
mode:
authorClemens Lang <clemens.lang@bmw-carit.de>2015-03-06 15:28:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-09 14:56:46 +0000
commitfbd4a0d422cf7f43db2f9eab2e47c41246a9031e (patch)
treedd783e81d5329f55489120ca8b1423f1e810096c /lib/bb/server/xmlrpc.py
parentd4ac60c41f1ee9a8c59f9ede5b0948303f793afa (diff)
downloadbitbake-fbd4a0d422cf7f43db2f9eab2e47c41246a9031e.tar.gz
fetch2: Revalidate checksums, YOCTO #5571
[YOCTO #5571] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=5571 The following workflow (whether accidentally or deliberately) would previously not result in a checksum error, but would be helpful to do so: - Write a recipe with correct checksums - Fetch the sources for this recipe using bitbake - Change the checksums Since the bitbake fetcher writes a done stamp after the initial download and does not verify the checksums again (even if they are changed in the recipe afterwards), the change of checksums is silently ignored. Fix this without the overhead of computing the checksums from scratch on every do_fetch by storing them in pickled format in the done stamp and verifying that they still match those in the recipe. Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/server/xmlrpc.py')
0 files changed, 0 insertions, 0 deletions