summaryrefslogtreecommitdiff
path: root/src/buildstream/plugins/elements/import.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/plugins/elements/import.yaml')
-rw-r--r--src/buildstream/plugins/elements/import.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/buildstream/plugins/elements/import.yaml b/src/buildstream/plugins/elements/import.yaml
new file mode 100644
index 000000000..698111b55
--- /dev/null
+++ b/src/buildstream/plugins/elements/import.yaml
@@ -0,0 +1,14 @@
+# The import element simply stages the given sources
+# directly to the root of the sandbox and then collects
+# the output to create an output artifact.
+#
+config:
+
+ # By default we collect everything staged, specify a
+ # directory here to output only a subset of the staged
+ # input sources.
+ source: /
+
+ # Prefix the output with an optional directory, by default
+ # the input is found at the root of the produced artifact.
+ target: /