File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ if [ "${KERNEL_FLAVOR}" = "zone-nvidiagpu" ] && [ "${TARGET_ARCH_STANDARD}" = "x
7575 mkdir -p " $NV_EXTRACT_PATH "
7676
7777 echo " Downloading NVIDIA runtime package for driver ${NV_VERSION} from: $NV_RUN_URL "
78- curl -L -o " $NV_EXTRACT_PATH /$NV_RUN_FILE " " $NV_RUN_URL "
78+ curl --retry 5 --retry-delay 2 --retry-max-time 30 --retry-all-errors - L -o " $NV_EXTRACT_PATH /$NV_RUN_FILE " " $NV_RUN_URL "
7979 chmod +x " $NV_EXTRACT_PATH /$NV_RUN_FILE "
8080 " $NV_EXTRACT_PATH /$NV_RUN_FILE " -x --target " $NV_EXTRACT_PATH /out"
8181 # Compress firmwares on-disk
Original file line number Diff line number Diff line change 2222
2323echo " Fetching nvidia module release: $NV_VERSION "
2424
25- RELEASE_JSON=$( curl -s " https://api.github.com/repos/${NV_KMOD_REPO_OWNER} /${NV_KMOD_REPO_NAME} /releases/tags/${NV_VERSION} " )
25+ RELEASE_JSON=$( curl -s --retry 5 --retry-delay 2 --retry-max-time 30 --retry-all-errors " https://api.github.com/repos/${NV_KMOD_REPO_OWNER} /${NV_KMOD_REPO_NAME} /releases/tags/${NV_VERSION} " )
2626TARBALL_URL=$( echo " $RELEASE_JSON " | grep -o ' "tarball_url": *"[^"]*"' | sed ' s/"tarball_url": *"\(.*\)"/\1/' )
2727if [ -z " $TARBALL_URL " ]; then
2828 echo " Failed to fetch release information for version $NV_VERSION "
You can’t perform that action at this time.
0 commit comments