Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Update 01-run.sh (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechilds committed Oct 16, 2023
1 parent 40c3ee1 commit 460a29b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions stage2/03-install-umbrel/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ git clone ${UMBREL_REPO} .
git checkout "${UMBREL_BRANCH}"
fi

# Apply patches to fix initial git clone timeout
# Increase git timeout
sed -i 's/timeout --foreground 30 git/timeout --foreground 300 git/g' ./scripts/repo || true
# Only do shallow clone
sed -i 's/timeout --foreground 300 git clone/timeout --foreground 300 git clone --depth 1/g' ./scripts/repo || true

# Download umbreld
binary_url="https://github.com/getumbrel/umbrel/releases/download/v${UMBREL_VERSION}/umbreld-v${UMBREL_VERSION}-arm64.tar.gz"
curl --fail --location "${binary_url}" | tar --extract --gzip --directory="./bin"
Expand Down

0 comments on commit 460a29b

Please sign in to comment.