diff options
author | Jim MacArthur <jim@mode7.co.uk> | 2018-05-27 16:11:39 +0100 |
---|---|---|
committer | Jim MacArthur <jim.macarthur@codethink.co.uk> | 2018-06-12 17:38:01 +0100 |
commit | 7f354e8d996bb340a635dee24924e9d938272051 (patch) | |
tree | e91575e7a064b9b0a439c8c2ba02dd2f42dc8bd5 | |
parent | 747a26619f98a467be892ffce36e5b5e8a06c8a9 (diff) | |
download | buildstream-7f354e8d996bb340a635dee24924e9d938272051.tar.gz |
Make Import a BST_VIRTUAL_DIRECTORY class
-rw-r--r-- | buildstream/plugins/elements/import.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildstream/plugins/elements/import.py b/buildstream/plugins/elements/import.py index 8b701c737..178b7ea5f 100644 --- a/buildstream/plugins/elements/import.py +++ b/buildstream/plugins/elements/import.py @@ -36,6 +36,10 @@ from buildstream import Element, BuildElement, ElementError # Element implementation for the 'import' kind. class ImportElement(BuildElement): + + # This plugin has been modified to avoid the use of Sandbox.get_directory + BST_VIRTUAL_DIRECTORY = True + # pylint: disable=attribute-defined-outside-init def configure(self, node): |