1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-03 20:02:39 +01:00

fw: cache target info

Cache target info after pulling it from the device. Attempt to retrieve
from cache before querying target.
This commit is contained in:
Sergei Trofimov
2018-07-13 15:28:23 +01:00
committed by Marc Bonnici
parent 770d2b2f0e
commit e8f545861d
3 changed files with 44 additions and 2 deletions

View File

@@ -498,6 +498,10 @@ class MetaConfiguration(Configuration):
def additional_packages_file(self):
return os.path.join(self.user_directory, 'packages')
@property
def target_info_cache_file(self):
return os.path.join(self.cache_directory, 'targets.json')
def __init__(self, environ=None):
super(MetaConfiguration, self).__init__()
if environ is None: