Project

General

Profile

« Previous | Next » 

Revision 48396120

Added by Renato Botelho almost 10 years ago

Send repo containing core packages to remote server

View differences:

tools/builder_common.sh
2024 2024
	if [ -z "${RSYNC_COPY_ARGUMENTS:-}" ]; then
2025 2025
		RSYNC_COPY_ARGUMENTS="-ave ssh --timeout=60 --bwlimit=${RSYNCKBYTELIMIT}" #--bwlimit=50
2026 2026
	fi
2027

  
2028
	snapshots_update_status ">>> Copying core pkg repo to ${PKG_RSYNC_HOSTNAME}"
2029
	# Add ./ before last directory, it's rsync trick to make it chdir to parent directory before send
2030
	pkg_repo_rsync $(echo "${CORE_PKG_PATH}" | sed -E 's,/$,,; s,/([^/]*)$,/./\1,')
2031
	snapshots_update_status ">>> Finished copying core pkg repo"
2032

  
2027 2033
	snapshots_update_status ">>> Copying files to ${RSYNCIP}"
2028 2034

  
2029 2035
	rm -f $SCRATCHDIR/ssh-snapshots*

Also available in: Unified diff