diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-03 08:39:52 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-03 08:39:52 -0300 |
commit | 48396120a0c78c11dd7bdc3776853d2ad6753716 (patch) | |
tree | 2571be133b5ad81d7436ba94ace29e765a8b78d6 | |
parent | 184b39e159566e745342ae0fea08ceaa8bc7ce32 (diff) | |
download | pfsense-48396120a0c78c11dd7bdc3776853d2ad6753716.zip pfsense-48396120a0c78c11dd7bdc3776853d2ad6753716.tar.gz |
Send repo containing core packages to remote server
-rw-r--r-- | tools/builder_common.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh index 8a4c784..01516b5 100644 --- a/tools/builder_common.sh +++ b/tools/builder_common.sh @@ -2024,6 +2024,12 @@ snapshots_scp_files() { if [ -z "${RSYNC_COPY_ARGUMENTS:-}" ]; then RSYNC_COPY_ARGUMENTS="-ave ssh --timeout=60 --bwlimit=${RSYNCKBYTELIMIT}" #--bwlimit=50 fi + + snapshots_update_status ">>> Copying core pkg repo to ${PKG_RSYNC_HOSTNAME}" + # Add ./ before last directory, it's rsync trick to make it chdir to parent directory before send + pkg_repo_rsync $(echo "${CORE_PKG_PATH}" | sed -E 's,/$,,; s,/([^/]*)$,/./\1,') + snapshots_update_status ">>> Finished copying core pkg repo" + snapshots_update_status ">>> Copying files to ${RSYNCIP}" rm -f $SCRATCHDIR/ssh-snapshots* |