]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cache: Add debug msg for a nonexistant dep file
authorChris Larson <chris_larson@mentor.com>
Thu, 18 Nov 2010 18:14:38 +0000 (11:14 -0700)
committerChris Larson <chris_larson@mentor.com>
Thu, 18 Nov 2010 18:14:41 +0000 (11:14 -0700)
If a recipe depends on a file, and that file is out of date, we show a
message, but if that file was removed, we do not, until now.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/cache.py

index cff220a1ad004b6fae410aa37cd90f0756ddef48..a2ec1b7f83e58ff4b22f7d7aeac329385f3ce8e5 100644 (file)
@@ -278,6 +278,8 @@ class Cache(object):
                 fmtime = bb.parse.cached_mtime_noerror(f)
                 # Check if file still exists
                 if old_mtime != 0 and fmtime == 0:
+                    logger.debug(2, "Cache: %s's dependency %s was removed",
+                                    fn, f)
                     self.remove(fn)
                     return False