summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarius Makovsky <traveltissues@protonmail.com>2019-09-05 14:33:54 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-09-24 15:58:25 +0000
commitbde0c6fd1b42c8cbb1fe81d42898082616a5b528 (patch)
tree6119882de444effb70b308b3167b7f9efc7b5723
parentc9d1de5480c11423eb3c83559ffc607e735f0dcf (diff)
downloadbuildstream-bde0c6fd1b42c8cbb1fe81d42898082616a5b528.tar.gz
import.py: assemble the element via `stage_sources`
-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')