You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/03/25 12:55:30 UTC

git commit: updated refs/heads/4.4 to 244c361

Repository: cloudstack
Updated Branches:
  refs/heads/4.4 33744ed65 -> 244c361b5


appliance: remove any stale raw.img file

This fixes a common build issue

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/244c361b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/244c361b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/244c361b

Branch: refs/heads/4.4
Commit: 244c361b50c7de8b7b4299e8aabcad01efc12e35
Parents: 33744ed
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Wed Mar 25 17:24:55 2015 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Wed Mar 25 17:25:11 2015 +0530

----------------------------------------------------------------------
 tools/appliance/build.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/244c361b/tools/appliance/build.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh
index f35b58b..6476665 100755
--- a/tools/appliance/build.sh
+++ b/tools/appliance/build.sh
@@ -89,9 +89,10 @@ fi
 set -e
 
 # Export for KVM
+rm -f raw.img
 vboxmanage internalcommands converttoraw -format vdi "$hdd_path" raw.img
 qemu-img convert -o compat=0.10 -f raw -c -O qcow2 raw.img $appliance-$branch-$build_date-kvm.qcow2
-rm raw.img
+rm -f raw.img
 bzip2 $appliance-$branch-$build_date-kvm.qcow2
 echo "$appliance exported for KVM: dist/$appliance-$branch-$build_date-kvm.qcow2.bz2"