X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lbuild-initvm.sh;h=e5a03afcf523e218d25c96f037ee7a67c7ecc01b;hb=c36f66a53829c3908c22bb64acc24bcbeb8d454b;hp=ee03232ee7098ab16ec4dabae14c88734ddaf84c;hpb=f262e09e16bc74b42bf3d65491e34da8d5f67162;p=build.git diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index ee03232e..e5a03afc 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -103,6 +103,7 @@ function fedora_install() { set -e cache=/var/cache/lxc/fedora/$arch/$release + mkdir -p $cache ( flock --exclusive --timeout 60 200 || { echo "Cache repository is busy." ; return 1 ; }