]> code.ossystems Code Review - openembedded-core.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)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:41 +0000 (14:46 +0000)
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.

(Bitbake rev: 67984ba0ac2db79874541bc031f2e3e9ff7a6c32)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/cache.py

index 0734c7e771cade1e04babd805c1aa073e82e17f4..5adb8d4a5ced1f06234d1f5473588a185127a7ee 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