From 7b1aef260402f538e3c60c83bfb79f9f41fcbf7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 26 Aug 2018 14:11:30 +0200 Subject: Add initial configuration This is just initial test for turris3x-omnia --- templates/turris3x.run | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 templates/turris3x.run (limited to 'templates/turris3x.run') diff --git a/templates/turris3x.run b/templates/turris3x.run new file mode 100755 index 0000000..bc8b56a --- /dev/null +++ b/templates/turris3x.run @@ -0,0 +1,24 @@ +# vim: ft=sh +set -e +. utils + +echo_stage "Get packages" +git_fetch "$GIT_REPO" pkgs turris3x + +# TODO download only once a day +echo_strage "Download SDK" +wget "$SDK_URI" -O sdk.tar.bz2 +mv sdk.tar.bz2 "$WORKSPACE/sdk.tar.bz2" + +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 -j1 V=99 + +# TODO sign +# TODO copy to repository -- cgit v1.2.3