summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-08-02 13:36:39 -0300
committerRenato Botelho <renato@netgate.com>2016-08-12 14:41:27 -0300
commit1f9a4b5498d52f433faf61077f921abab3246cd5 (patch)
treefad32c39e17f814377a91edbdcd0287de90f9004
parentf59c3243daee7f1cd40db27963e538c28d39b448 (diff)
downloadpfsense-1f9a4b5498d52f433faf61077f921abab3246cd5.zip
pfsense-1f9a4b5498d52f433faf61077f921abab3246cd5.tar.gz
Retire snapshots_rotate_logfile()
-rwxr-xr-xbuild.sh2
-rw-r--r--tools/builder_common.sh14
2 files changed, 0 insertions, 16 deletions
diff --git a/build.sh b/build.sh
index 8c36887..2cada48 100755
--- a/build.sh
+++ b/build.sh
@@ -373,8 +373,6 @@ fi
echo ">>> Building image type(s): ${_IMAGESTOBUILD}"
if [ -n "${SNAPSHOTS}" ]; then
- snapshots_rotate_logfile
-
snapshots_update_status ">>> Starting snapshot build operations"
if pkg update -r ${PRODUCT_NAME} >/dev/null 2>&1; then
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 7c29c49..780eb30 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -2474,20 +2474,6 @@ snapshots_update_status() {
fi
}
-# Copy the current log file to $filename.old on
-# the snapshot www server (real time logs)
-snapshots_rotate_logfile() {
- if [ -z "${DO_NOT_UPLOAD}" -a -n "${SNAPSHOTS_RSYNCIP}" ]; then
- scp -q $SNAPSHOTSLOGFILE \
- ${SNAPSHOTS_RSYNCUSER}@${SNAPSHOTS_RSYNCIP}:${SNAPSHOTS_RSYNCLOGS}/build.log.old
- fi
-
- # Cleanup log file
- rm -f $SNAPSHOTSLOGFILE; touch $SNAPSHOTSLOGFILE
- rm -f $SNAPSHOTSLASTUPDATE; touch $SNAPSHOTSLASTUPDATE
-
-}
-
create_sha256() {
local _file="${1}"
OpenPOWER on IntegriCloud