mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 03:12:34 +01:00
fw/execution: record resource hashes in metadata
As part of resolving a resource, record its MD5 hash in the output metadata. In order to enable this, resource resolution is now done via the context, rather than directly via the ResourceResolver (in order not to introduce a context dependency in the Gui object, context now emulates the resolver interface).
This commit is contained in:
committed by
Marc Bonnici
parent
e5e8406e1f
commit
2ff06af632
@@ -70,7 +70,7 @@ class FilePoller(Instrument):
|
||||
def initialize(self, context):
|
||||
if not self.target.is_rooted and self.as_root:
|
||||
raise ConfigError('The target is not rooted, cannot run poller as root.')
|
||||
host_poller = context.resolver.get(Executable(self, self.target.abi,
|
||||
host_poller = context.get_resource(Executable(self, self.target.abi,
|
||||
"poller"))
|
||||
target_poller = self.target.install(host_poller)
|
||||
|
||||
|
Reference in New Issue
Block a user