Fix troubles with git cloning https
Some xenservers get errors because git is not configured with
curl and expat, and because of invalid SSL certs.
Change-Id: Ibe7062255b90559b0d6ca5f52e33ec56451505df
diff --git a/tools/xen/build_domU.sh b/tools/xen/build_domU.sh
index ce11b0a..455ad26 100755
--- a/tools/xen/build_domU.sh
+++ b/tools/xen/build_domU.sh
@@ -31,7 +31,7 @@
wget http://git-core.googlecode.com/files/git-1.7.7.tar.gz
tar xfv git-1.7.7.tar.gz
cd $GITDIR
- ./configure
+ ./configure --with-curl --with-expat
make install
cd $TOP_DIR
fi
@@ -141,7 +141,7 @@
# Checkout nova
if [ ! -d $TOP_DIR/nova ]; then
- git clone $NOVA_REPO
+ env GIT_SSL_NO_VERIFY=true git clone $NOVA_REPO
cd $TOP_DIR/nova
git checkout $NOVA_BRANCH
fi