[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser-bundle/hardened-builds] Bug 18127: fix base-vm file name when using KVM
commit eb7ae40c498029994daa38d48a64a152ca1129e1
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits