summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2015-03-03 22:05:28 +0200
committerRiku Voipio <riku.voipio@linaro.org>2015-03-03 22:05:28 +0200
commit2f024ca8653a131bd21b7ec923995fccc9a26f34 (patch)
tree30b7e106a741b1ec267a811751d558f65609adc7
parent0362876263832dccf27696a69edf1196ac377a7a (diff)
downloadxen-ci-packaged-image.tar.gz
wait till partitions donepackaged-image
-rwxr-xr-xmakelavaimg3
1 files changed, 1 insertions, 2 deletions
diff --git a/makelavaimg b/makelavaimg
index fcf961d..b7fc823 100755
--- a/makelavaimg
+++ b/makelavaimg
@@ -111,8 +111,7 @@ sudo linaro-media-create --hwpack-force-yes --dev ${dev} --image-file xenlava-$
#loopmount partitions
-sudo kpartx -a -v ${image}
-sleep 5
+sudo kpartx -s -a -v ${image}
set +e
ls -la /dev/loop*