From 8256eb9889288f3ad22f1988d88d10fe5c645b91 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Thu, 18 Feb 2016 19:39:10 +0200 Subject: bb/fetch2: drop checksum cache It is not used for anything, anymore. Signed-off-by: Markus Lehtonen --- lib/bb/fetch2/__init__.py | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'lib/bb/fetch2/__init__.py') diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index 7e246555d1..45240e55b9 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -39,7 +39,6 @@ import bb.process import subprocess __version__ = "2" -_checksum_cache = bb.checksum.FileChecksumCache() logger = logging.getLogger("BitBake.Fetcher") @@ -510,18 +509,10 @@ def fetcher_init(d): else: raise FetchError("Invalid SRCREV cache policy of: %s" % srcrev_policy) - _checksum_cache.init_cache(d, d.getVar("BB_HASH_CHECKSUM_CACHE_FILE", True)) - for m in methods: if hasattr(m, "init"): m.init(d) -def fetcher_parse_save(): - _checksum_cache.save_extras() - -def fetcher_parse_done(): - _checksum_cache.save_merge() - def fetcher_compare_revisions(): """ Compare the revisions in the persistant cache with current values and @@ -1132,15 +1123,6 @@ def get_checksum_file_list(d): return " ".join(filelist) -def get_file_checksums(filelist, pn): - """Get a list of the checksums for a list of local files - - Returns the checksums for a list of local files, caching the results as - it proceeds - - """ - return _checksum_cache.get_checksums(filelist, pn) - class FetchData(object): """ -- cgit 1.2.3-korg