Revert "element.py: Consider execution environment in cache key"
This reverts commit 5c6cfe10274b6588d8bbc785574d215a35305d80.
diff --git a/buildstream/element.py b/buildstream/element.py
index 86cac56..9b23546 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -919,22 +919,12 @@
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,
self.BST_ARTIFACT_VERSION),
'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
- },
'environment': cache_env,
'sources': [s._get_unique_key() for s in self.__sources],
'public': self.__public,