summaryrefslogtreecommitdiffstats
path: root/tools/builder_defaults.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-02 16:15:55 -0300
committerRenato Botelho <renato@netgate.com>2015-09-02 16:15:55 -0300
commitab943fc9fe8eface0036f7d947e40d48e5dd5ce7 (patch)
treeddcd158c72f2d6edcd583a1a41fb9bb77c52b398 /tools/builder_defaults.sh
parent82c6f31aa59bd86568871996aac847dba7a99461 (diff)
downloadpfsense-ab943fc9fe8eface0036f7d947e40d48e5dd5ce7.zip
pfsense-ab943fc9fe8eface0036f7d947e40d48e5dd5ce7.tar.gz
Move snapshot related functions to builder_common.sh and leave build_snapshots.sh a simple script that update repo and call build.sh, without need to know anything about build.conf variables
Diffstat (limited to 'tools/builder_defaults.sh')
-rw-r--r--tools/builder_defaults.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/builder_defaults.sh b/tools/builder_defaults.sh
index c9231dc..770262e 100644
--- a/tools/builder_defaults.sh
+++ b/tools/builder_defaults.sh
@@ -318,3 +318,11 @@ export UPDATES_TARBALL_FILENAME=${UPDATES_TARBALL_FILENAME:-"${UPDATESDIR}/${PRO
export RSYNCUSER=${RSYNCUSER:-"snapshots"}
export RSYNCPATH=${RSYNCPATH:-"/usr/local/www/snapshots/${TARGET}/${PRODUCT_NAME}_${GIT_REPO_BRANCH_OR_TAG}"}
export RSYNCLOGS=${RSYNCLOGS:-"/usr/local/www/snapshots/logs/${PRODUCT_NAME}_${GIT_REPO_BRANCH_OR_TAG}/${TARGET}"}
+export RSYNCKBYTELIMIT=${RSYNCKBYTELIMIT:-"248000"}
+
+# staging area used on snapshots build
+STAGINGAREA=${STAGINGAREA:-"${SCRATCHDIR}/staging"}
+mkdir -p ${STAGINGAREA}
+
+export SNAPSHOTSLOGFILE=${SNAPSHOTSLOGFILE:-"${SCRATCHDIR}/snapshots-build.log"}
+export SNAPSHOTSLASTUPDATE=${SNAPSHOTSLASTUPDATE:-"${SCRATCHDIR}/snapshots-lastupdate.log"}
OpenPOWER on IntegriCloud