]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: cache: Optimise invalid cache file handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Jul 2014 13:52:19 +0000 (14:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 26 Jul 2014 07:50:14 +0000 (08:50 +0100)
commita05435fc59d32f2fcf4ea4185cb0655eeb343211
tree9ef93f398281590fb6a7f1b9dbe0cbdf33aa4160
parent97f4d8fa78ec25813bdbda72d4a7c0536c90daa2
bitbake: cache: Optimise invalid cache file handling

If there is a corrupt/invalid cache file, we'd keep trying to reopen
it. This is pointless, simplify the code paths and delete the dead
file.

(Bitbake rev: c22441f7025be012ad2e62a51ccb993c3a0e16c9)

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