bitbake: lib/bb/cache.py: invalidate cache when file checksum entry no longer exists
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 4 Jun 2013 08:59:37 +0000 (09:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Jun 2013 16:09:26 +0000 (17:09 +0100)
commit956fdcd92fb81e26824621d494aeb031dff8a94d
tree7fd8ccba50afb0faf155549ac624c081e067653b
parentfc4ba6492df737af0eea81c79e44ef911da068c0
bitbake: lib/bb/cache.py: invalidate cache when file checksum entry no longer exists

Go through the cached list of file checksums and check if any of the
files no longer exist; if any are missing then invalidate the cached
recipe, which will force it to be reparsed and thus force the list of
files to be collected again. This prevents a warning when moving a file
to a different location that is still picked up by the recipe, e.g.
moving a file from a "files" subdirectory to one named with the recipe
name (${BPN}).

Fixes [YOCTO #4474].

(Bitbake rev: e1aa103593c46612c4d9000524174983b5994dc9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cache.py