Skip to content

Commit

Permalink
install: Update curl lias with retry-delay and connection-timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Sep 26, 2024
1 parent 11e2dfc commit 4d55f87
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion install/boards/bcm_2712.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ REMOTE="${REMOTE:-https://raw.githubusercontent.com/${GITHUB_REPOSITORY}}"
ROOT="$REMOTE/$VERSION"
CMDLINE_FILE=/boot/firmware/cmdline.txt
CONFIG_FILE=/boot/firmware/config.txt
alias curl="curl --retry 6 --max-time 15 --retry-all-errors"
alias curl="curl --retry 6 --max-time 15 --retry-all-errors --retry-delay 20 --connect-timeout 60"

# Download, compile, and install spi0 mosi-only device tree overlay for
# neopixel LED on navigator board
Expand Down
2 changes: 1 addition & 1 deletion install/boards/bcm_27xx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ REMOTE="${REMOTE:-https://raw.githubusercontent.com/${GITHUB_REPOSITORY}}"
ROOT="$REMOTE/$VERSION"
CMDLINE_FILE=/boot/cmdline.txt
CONFIG_FILE=/boot/config.txt
alias curl="curl --retry 6 --max-time 15 --retry-all-errors"
alias curl="curl --retry 6 --max-time 15 --retry-all-errors --retry-delay 20 --connect-timeout 60"

# Download, compile, and install spi0 mosi-only device tree overlay for
# neopixel LED on navigator board
Expand Down
2 changes: 1 addition & 1 deletion install/boards/configure_board.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +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"
alias curl="curl --retry 6 --max-time 15 --retry-all-errors --retry-delay 20 --connect-timeout 60"

function board_not_detected {
echo "Hardware not identified in $1, please report back the following line:"
Expand Down
2 changes: 1 addition & 1 deletion install/network/avahi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +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"
alias curl="curl --retry 6 --max-time 15 --retry-all-errors --retry-delay 20 --connect-timeout 60"

# Exit if something goes wrong
set -e
Expand Down

0 comments on commit 4d55f87

Please sign in to comment.