aboutsummaryrefslogtreecommitdiff
path: root/schneider-openembedded
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2019-12-20 17:15:03 +0000
committerRyan Harkin <ryan.harkin@linaro.org>2019-12-20 17:16:44 +0000
commiteeb28d3333e0c3aeca51724502562c247bd02d9f (patch)
tree0c785264392f069940caf4caededecd9c75b2bc3 /schneider-openembedded
parent22ada775b1e3d2f99bf07e575b62852b69972b2b (diff)
se: fix docker test in UBI edge
The dip-image-edge UBI test fails to run docker because /tmp/sdcard is not mounted as an ext4 image by default. This is because we aren't flashing our own disk image for this test, but relying on whatever is on the card from the last time the board was used. Instead of creating an ext4 partition on mmcblk0p1, just use tmpfs. For real use-cases, this won't be good enough, but for a simple hello-world test, there will be enough space. Change-Id: Ifb4f70eee92080cbd265d16902a6567a53895cba Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'schneider-openembedded')
-rw-r--r--schneider-openembedded/lava-job-definitions/rzn1d/ubi-edge.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/schneider-openembedded/lava-job-definitions/rzn1d/ubi-edge.yaml b/schneider-openembedded/lava-job-definitions/rzn1d/ubi-edge.yaml
index 1d0bf27b..0c2cda6c 100644
--- a/schneider-openembedded/lava-job-definitions/rzn1d/ubi-edge.yaml
+++ b/schneider-openembedded/lava-job-definitions/rzn1d/ubi-edge.yaml
@@ -92,6 +92,10 @@ actions:
- command: udhcpc -i eth1 -n || udhcpc -i eth0 -n
- command: ifconfig -a
- command: ping -c 3 github.com
+ - command: systemctl stop docker
+ - command: umount /tmp/sdcard
+ - command: mount -t tmpfs tmpfs /tmp/sdcard
+ - command: systemctl start docker
- command: docker run hello-world
metadata: