From 730278d1b5af4a29e26f5f1c83da211e0aa48aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 21 Sep 2019 17:16:07 +0200 Subject: Drop Turris OS 3.x builds and add Turris 1.x --- templates/turris3x.run | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100755 templates/turris3x.run (limited to 'templates/turris3x.run') diff --git a/templates/turris3x.run b/templates/turris3x.run deleted file mode 100755 index b9344d8..0000000 --- a/templates/turris3x.run +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -# vim: ft=sh -. "$(dirname "$(readlink -f "$0")")/../job.common" -. turris-common.sh - -echo_stage "Get packages" -git_clone "git@cynerd.cz:openwrt-personal-pkgs" pkgs turris3x - -SDK="$WORKSPACE/sdk.tar.bz2" -if [ -n "$CLEAN" ] || [ ! -e "$SDK" ] || [ $(expr $(date -u +%s) - $(stat -c %Z "$SDK")) -gt 86400 ]; then - echo_stage "Download SDK" - curl "$SDK_URI" > sdk.tar.bz2 - mv sdk.tar.bz2 "$SDK" -else - echo_stage "Skipping download" -fi - -echo_stage "Export SDK" -tar -xjf "$WORKSPACE/sdk.tar.bz2" -cd OpenWrt-SDK-* - -echo_stage "Copy packages" -cp -r ../pkgs/* package/ - -echo_stage "Build" -$make - -echo_stage "Sign" -./staging_dir/host/bin/usign -S -s ~/openwrt-repo.sec -m "bin/$ARCH/packages/base/Packages" - -echo_stage "Deploy" -ssh upload rm -rf "deploy-turris3x-$BOARD" -scp -r "bin/$ARCH/packages/base" upload:deploy-turris3x-$BOARD -ssh upload /bin/sh -e <