oops, cache dir needs to be created
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 26 Mar 2014 15:29:36 +0000 (16:29 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 26 Mar 2014 15:29:36 +0000 (16:29 +0100)
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 ; }