diff --git a/install/boards/bcm_27xx.sh b/install/boards/bcm_27xx.sh index 9784c0c775..4b0e9bae4f 100755 --- a/install/boards/bcm_27xx.sh +++ b/install/boards/bcm_27xx.sh @@ -7,6 +7,7 @@ GITHUB_REPOSITORY=${GITHUB_REPOSITORY:-bluerobotics/blueos-docker} REMOTE="${REMOTE:-https://raw.githubusercontent.com/${GITHUB_REPOSITORY}}" ROOT="$REMOTE/$VERSION" CMDLINE_FILE=/boot/cmdline.txt +alias curl="curl --retry 6 --max-time 15 --retry-all-errors" # Download, compile, and install spi0 mosi-only device tree overlay for # neopixel LED on navigator board diff --git a/install/boards/configure_board.sh b/install/boards/configure_board.sh index 7a6f046499..8cb2ca015e 100644 --- a/install/boards/configure_board.sh +++ b/install/boards/configure_board.sh @@ -6,6 +6,7 @@ GITHUB_REPOSITORY=${GITHUB_REPOSITORY:-bluerobotics/blueos-docker} REMOTE="${REMOTE:-https://raw.githubusercontent.com/${GITHUB_REPOSITORY}}" ROOT="$REMOTE/$VERSION" CONFIGURE_BOARD_PATH="$ROOT/install/boards" +alias curl="curl --retry 6 --max-time 15 --retry-all-errors" function board_not_detected { echo "Hardware not identified in $1, please report back the following line:" diff --git a/install/install.sh b/install/install.sh index 9fc7feac61..71d5fc8086 100755 --- a/install/install.sh +++ b/install/install.sh @@ -5,6 +5,7 @@ VERSION="${VERSION:-master}" GITHUB_REPOSITORY=${GITHUB_REPOSITORY:-bluerobotics/blueos-docker} REMOTE="${REMOTE:-https://raw.githubusercontent.com/${GITHUB_REPOSITORY}}" ROOT="$REMOTE/$VERSION" +alias curl="curl --retry 6 --max-time 15 --retry-all-errors" # Additional options DO_BOARD_CONFIG=1 # default to do the board config diff --git a/install/network/avahi.sh b/install/network/avahi.sh index 260bc66e63..91a49d5fe5 100644 --- a/install/network/avahi.sh +++ b/install/network/avahi.sh @@ -5,6 +5,7 @@ GITHUB_REPOSITORY=${GITHUB_REPOSITORY:-bluerobotics/blueos-docker} REMOTE="${REMOTE:-https://raw.githubusercontent.com/${GITHUB_REPOSITORY}}" REMOTE="$REMOTE/$VERSION" CONFIGURE_NETWORK_PATH="$REMOTE/install/network" +alias curl="curl --retry 6 --max-time 15 --retry-all-errors" # Exit if something goes wrong set -e