summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-02-19 14:57:02 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-05-10 12:27:12 +0300
commite8b54b0363cc180d16191bf1d9d476f8ed21fa5d (patch)
tree854954f11a69ea24891ae28c4bee4cbad821d788 /lib/bb/fetch2/__init__.py
parentdbe083c15f78a8533e8f2cc8afd64a758cfe93ae (diff)
downloadopenembedded-core-contrib-e8b54b0363cc180d16191bf1d9d476f8ed21fa5d.tar.gz
Move file checksum cache out of SignatureGenerator
Just utilize the checksum cache in bb.fetch2 as it is not used for anything else. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'lib/bb/fetch2/__init__.py')
-rw-r--r--lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index 6ef0c6fe7a..7e246555d1 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -510,7 +510,7 @@ def fetcher_init(d):
else:
raise FetchError("Invalid SRCREV cache policy of: %s" % srcrev_policy)
- _checksum_cache.init_cache(d)
+ _checksum_cache.init_cache(d, d.getVar("BB_HASH_CHECKSUM_CACHE_FILE", True))
for m in methods:
if hasattr(m, "init"):