summaryrefslogtreecommitdiff
path: root/integration-tests/script-test/elements/script-root-test.bst
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/script-test/elements/script-root-test.bst')
-rw-r--r--integration-tests/script-test/elements/script-root-test.bst14
1 files changed, 14 insertions, 0 deletions
diff --git a/integration-tests/script-test/elements/script-root-test.bst b/integration-tests/script-test/elements/script-root-test.bst
new file mode 100644
index 000000000..4b2045e6f
--- /dev/null
+++ b/integration-tests/script-test/elements/script-root-test.bst
@@ -0,0 +1,14 @@
+kind: script
+description: Write to root using a script element
+
+depends:
+ - filename: dependencies/base-platform.bst
+ type: build
+
+config:
+ root-read-only: False
+
+ commands:
+ - "mkdir -p /buildstream/install"
+ - "echo 'I can write to root' > /test"
+ - "cp /test /buildstream/install"