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:
committed by
Marc Bonnici
parent
770d2b2f0e
commit
e8f545861d
@@ -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:
|
||||
|
Reference in New Issue
Block a user