diff options
Diffstat (limited to 'bitbake-dev/lib/bb/cache.py')
-rw-r--r-- | bitbake-dev/lib/bb/cache.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake-dev/lib/bb/cache.py b/bitbake-dev/lib/bb/cache.py index 1c87bfa12d..a4a4f47cef 100644 --- a/bitbake-dev/lib/bb/cache.py +++ b/bitbake-dev/lib/bb/cache.py @@ -95,7 +95,11 @@ class Cache: bb.msg.note(1, bb.msg.domain.Cache, "Invalid cache found, rebuilding...") self.depends_cache = {} else: - bb.msg.note(1, bb.msg.domain.Cache, "Out of date cache found, rebuilding...") + try: + os.stat( self.cachefile ) + bb.msg.note(1, bb.msg.domain.Cache, "Out of date cache found, rebuilding...") + except OSError: + pass def getVar(self, var, fn, exp = 0): """ |