summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDarius Makovsky <traveltissues@protonmail.com>2019-09-05 14:33:54 +0100
committerDarius Makovsky <traveltissues@protonmail.com>2019-09-18 16:38:19 +0100
commit59f7c301e84f40882b1903e97bb83f9a6389e217 (patch)
tree550008d0d5a1cfda7d7b62d3cb680f9cc7e8ebb2 /src
parentcfc595a4ba8f3f0b6b7b12f431acd214a0ddbf99 (diff)
downloadbuildstream-59f7c301e84f40882b1903e97bb83f9a6389e217.tar.gz
import.py: assemble the element via `stage_sources`
Diffstat (limited to 'src')
-rw-r--r--src/buildstream/plugins/elements/import.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buildstream/plugins/elements/import.py b/src/buildstream/plugins/elements/import.py
index 3a15aa7d3..9568bd08e 100644
--- a/src/buildstream/plugins/elements/import.py
+++ b/src/buildstream/plugins/elements/import.py
@@ -74,8 +74,7 @@ class ImportElement(Element):
def assemble(self, sandbox):
# Stage sources into the input directory
- # Do not mount workspaces as the files are copied from outside the sandbox
- self._stage_sources_in_sandbox(sandbox, 'input')
+ self.stage_sources(sandbox, 'input')
rootdir = sandbox.get_virtual_directory()
inputdir = rootdir.descend('input')