oops, cache dir needs to be created
[build.git] / lbuild-initvm.sh
index ee03232..e5a03af 100755 (executable)
@@ -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 ; }