Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install: Update curl lias with retry-delay and connection-timeout #2927

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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