diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-05-10 15:59:03 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-05-10 16:51:18 +0900 |
commit | ce665ff6d1e713886cfb3b1e63e4f61190183b0e (patch) | |
tree | 10908f4cc77e4bfd25d38e7eddab4d4837ae8842 | |
parent | e007e45be906325fe1aea8d3b449dcec9011eab5 (diff) | |
download | buildstream-ce665ff6d1e713886cfb3b1e63e4f61190183b0e.tar.gz |
_platform/linux.py: Info message displaying which bwrap features are enabled.
-rw-r--r-- | buildstream/_platform/linux.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/buildstream/_platform/linux.py b/buildstream/_platform/linux.py index 26dafb995..7c49b4e93 100644 --- a/buildstream/_platform/linux.py +++ b/buildstream/_platform/linux.py @@ -39,6 +39,12 @@ class Linux(Platform): self._user_ns_available = self._check_user_ns_available(context) self._artifact_cache = OSTreeCache(context, enable_push=self._user_ns_available) + context.message( + Message(None, MessageType.INFO, + "Linux platform initialized", + detail="die with parent available: {}\n".format(self._die_with_parent_available) + + "user namespaces available: {}".format(self._user_ns_available))) + @property def artifactcache(self): return self._artifact_cache |