diff options
Diffstat (limited to 'buildstream/element.py')
-rw-r--r-- | buildstream/element.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index 57d3732e7..e0cefbbe2 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -926,7 +926,6 @@ class Element(Plugin): context = self._get_context() project = self._get_project() - operating_system, _, _, _, machine_arch = os.uname() self.__cache_key_dict = { 'artifact-version': "{}.{}".format(_BST_CORE_ARTIFACT_VERSION, @@ -934,14 +933,7 @@ class Element(Plugin): 'context': context._get_cache_key(), 'project': project._get_cache_key(), 'element': self.get_unique_key(), - - # The execution environment may later be delegated - # to sandboxes which support virtualization - # - 'execution-environment': { - 'os': operating_system, - 'arch': machine_arch - }, + 'execution-environment': self.__sandbox_config.get_unique_key(), 'environment': cache_env, 'sources': [s._get_unique_key() for s in self.__sources], 'public': self.__public, |