From c36f66a53829c3908c22bb64acc24bcbeb8d454b Mon Sep 17 00:00:00 2001
From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Wed, 26 Mar 2014 16:29:36 +0100
Subject: [PATCH] oops, cache dir needs to be created

---
 lbuild-initvm.sh | 1 +
 1 file changed, 1 insertion(+)

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 ; }
-- 
2.47.0