diff options
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/turris3x.run | 2 | ||||
-rwxr-xr-x | templates/turris4x.run | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/turris3x.run b/templates/turris3x.run index 1d4b100..c99342d 100755 --- a/templates/turris3x.run +++ b/templates/turris3x.run @@ -4,7 +4,7 @@ set -e . utils echo_stage "Get packages" -git_fetch "https://git.cynerd.cz/openwrt-personal-pkgs" pkgs turris3x +git_clone "https://git.cynerd.cz/openwrt-personal-pkgs" pkgs turris3x SDK="$WORKSPACE/sdk.tar.bz2" if [ ! -e "$SDK" ] || [ $(expr $(date -u +%s) - $(stat -c %Z "$SDK")) -gt 86400 ]; then diff --git a/templates/turris4x.run b/templates/turris4x.run index a7b3c5c..4465d66 100755 --- a/templates/turris4x.run +++ b/templates/turris4x.run @@ -6,7 +6,7 @@ set -e MAKE="make -j4 IS_TTY=1 BUILD_LOG=1" echo_stage "Get packages" -git_fetch "https://git.cynerd.cz/openwrt-personal-pkgs" pkgs +git_clone "https://git.cynerd.cz/openwrt-personal-pkgs" pkgs curl "https://repo.turris.cz/$BOARD-$BRANCH/git-hash" > git-hash laminar_self_lock sdk @@ -21,7 +21,7 @@ else echo_stage "Get turris-build" HASH="$(awk '/ \* turris-build\: /{print $3}' git-hash)" HASH="9544f32cf06c29aedf8c3d88b9ff8745179dfa69" # TODO remove this when repo_checkout is integrated - git_fetch "https://gitlab.labs.nic.cz/turris/turris-build.git" turris-build "$HASH" + git_clone "https://gitlab.labs.nic.cz/turris/turris-build.git" turris-build "$HASH" echo_stage "Prepare SDK" mkdir openwrt |