summaryrefslogtreecommitdiff
path: root/templates/turris3x.run
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2019-03-05 23:02:49 +0100
committerKarel Kočí <cynerd@email.cz>2019-03-05 23:06:52 +0100
commitf7ac077009bccd9257bc5e4b35631a261c1ece80 (patch)
tree54955f5206707bdea1227eb49e028f33649f12be /templates/turris3x.run
parentc6ab53a9fb09904ac83459bbda1691623d1d60d1 (diff)
downloadlaminar-cnf-f7ac077009bccd9257bc5e4b35631a261c1ece80.tar.gz
laminar-cnf-f7ac077009bccd9257bc5e4b35631a261c1ece80.tar.bz2
laminar-cnf-f7ac077009bccd9257bc5e4b35631a261c1ece80.zip
Change to use only one runner and build 8 jobs in parallel
Diffstat (limited to 'templates/turris3x.run')
-rwxr-xr-xtemplates/turris3x.run9
1 files changed, 2 insertions, 7 deletions
diff --git a/templates/turris3x.run b/templates/turris3x.run
index c354b50..dfd85d9 100755
--- a/templates/turris3x.run
+++ b/templates/turris3x.run
@@ -1,12 +1,7 @@
#!/bin/sh
# vim: ft=sh
. "$(dirname "$(readlink -f "$0")")/../job.common"
-
-if [ "$V" -ge 1 ]; then
- MAKE="make -j1 IS_TTY=1 BUILD_LOG=1 V=99"
-else
- MAKE="make -j4 IS_TTY=1 BUILD_LOG=1"
-fi
+. turris-common.sh
echo_stage "Get packages"
git_clone "git@cynerd.cz:openwrt-personal-pkgs" pkgs turris3x
@@ -28,7 +23,7 @@ echo_stage "Copy packages"
cp -r ../pkgs/* package/
echo_stage "Build"
-$MAKE
+$make
echo_stage "Sign"
./staging_dir/host/bin/usign -S -s ~/openwrt-repo.key -m "bin/$ARCH/packages/base/Packages"