[tor-commits] [tor-browser-bundle/hardened-builds] Bug 18127: fix base-vm file name when using KVM

gk at torproject.org gk at torproject.org
Mon Apr 11 11:21:05 UTC 2016


commit eb7ae40c498029994daa38d48a64a152ca1129e1
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Tue Mar 29 17:27:41 2016 +0200

    Bug 18127: fix base-vm file name when using KVM
    
    The base-vm file name is different if we are using LXC or KVM.
---
 gitian/make-vms.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gitian/make-vms.sh b/gitian/make-vms.sh
index 554cc27..089865b 100755
--- a/gitian/make-vms.sh
+++ b/gitian/make-vms.sh
@@ -25,7 +25,8 @@ build_and_test_vm() {
   local arch="$1"; shift
   local bits="$1"; shift
 
-  if [ ! -f ./base-$dist-$arch ];
+  if [ "z$USE_LXC" = "z1" -a ! -f ./base-$dist-$arch ] \
+      || [ "z$USE_LXC" != "z1" -a ! -f ./base-$dist-$arch.qcow2 ];
   then
     if [ "z$USE_LXC" = "z1" ];
     then





More information about the tor-commits mailing list