summaryrefslogtreecommitdiff
path: root/templates/turris.run
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2019-09-21 17:16:07 +0200
committerKarel Kočí <cynerd@email.cz>2019-09-21 17:16:07 +0200
commit730278d1b5af4a29e26f5f1c83da211e0aa48aa8 (patch)
tree8343529f856eb4b886d56851aaf4b705b0ea9e95 /templates/turris.run
parent392150cea35e3cce0e3daac35dc1b4c7fa67074a (diff)
downloadlaminar-cnf-730278d1b5af4a29e26f5f1c83da211e0aa48aa8.tar.gz
laminar-cnf-730278d1b5af4a29e26f5f1c83da211e0aa48aa8.tar.bz2
laminar-cnf-730278d1b5af4a29e26f5f1c83da211e0aa48aa8.zip
Drop Turris OS 3.x builds and add Turris 1.x
Diffstat (limited to 'templates/turris.run')
-rwxr-xr-xtemplates/turris.run9
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/turris.run b/templates/turris.run
index 01a56d5..e5306e9 100755
--- a/templates/turris.run
+++ b/templates/turris.run
@@ -1,7 +1,14 @@
#!/bin/sh
# vim: ft=sh
. "$(dirname "$(readlink -f "$0")")/../job.common"
-. turris-common.sh
+###################################################
+parallel=-j4
+make="make -j4 IS_TTY=1 BUILD_LOG=1"
+if [ "$V" -ge 1 ]; then
+ parallel=-j1
+ make="make -j1 IS_TTY=1 BUILD_LOG=1 V=99"
+fi
+###################################################
curl "https://repo.turris.cz/$ANIMAL/$BOARD/packages/git-hash" > git-hash
cat git-hash