aboutsummaryrefslogtreecommitdiff
path: root/docker-extras/imagebuilder_sd
diff options
context:
space:
mode:
authorStefano Stabellini2019-07-15 16:07:57 -0700
committerStefano Stabellini2019-08-01 14:57:24 -0700
commit9ab1b1d15ff41829385e65555592cac08448d1e0 (patch)
tree0ee848bfe78d92d7563ddd581b713a2b2010477c /docker-extras/imagebuilder_sd
parent83334cb46f749091c66fa426b6e6c0b758ac208a (diff)
Call disk_image from imagebuilder_run, introduce imagebuilder_sd
Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
Diffstat (limited to 'docker-extras/imagebuilder_sd')
-rw-r--r--docker-extras/imagebuilder_sd9
1 files changed, 9 insertions, 0 deletions
diff --git a/docker-extras/imagebuilder_sd b/docker-extras/imagebuilder_sd
new file mode 100644
index 0000000..d3c98fb
--- /dev/null
+++ b/docker-extras/imagebuilder_sd
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+rm -rf /tmp/output
+mkdir /tmp/output
+cd /tmp/output
+cp -r /home/builder/output/* .
+export LOAD_CMD="load scsi 0:1"
+bash /uboot-script-gen
+bash /disk_image