TF: cmake: retries harder with curl
Pass --connect-timeout 5 --retry 5 --retry-delay 1 parameters to curl, to
be more resilient on connection time out failures:
curl: (7) Failed to connect to cmake.org port 443: Connection timed out
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Change-Id: I0e8e38b42de661e385efd5efe65d01171906d6df
diff --git a/bionic-amd64-tf-a-build/tf-dependencies.install b/bionic-amd64-tf-a-build/tf-dependencies.install
index c3d0f06..a6b2c9b 100755
--- a/bionic-amd64-tf-a-build/tf-dependencies.install
+++ b/bionic-amd64-tf-a-build/tf-dependencies.install
@@ -12,7 +12,7 @@
https://repo1.maven.org/maven2/net/sourceforge/plantuml/plantuml/1.2019.6/plantuml-1.2019.6.jar
# Install CMake
-curl --create-dirs -fsSLo /tmp/cmake-Linux-x86_64.tar.gz \
+curl --connect-timeout 5 --retry 5 --retry-delay 1 --create-dirs -fsSLo /tmp/cmake-Linux-x86_64.tar.gz \
https://cmake.org/files/v3.15/cmake-3.15.0-Linux-x86_64.tar.gz
tar -xf /tmp/cmake-Linux-x86_64.tar.gz -C ${TOOLS_DIR} --strip-components=1