summaryrefslogtreecommitdiffstats
path: root/tools/builder_common.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-05-24 17:58:29 -0300
committerRenato Botelho <renato@netgate.com>2016-05-24 17:58:47 -0300
commitf2f1101d7f2ac80bd4f7d3f3c05ce0700f55a963 (patch)
treefd360e4a564c99edfe47e8abb6e025fdd5d68d1b /tools/builder_common.sh
parent4dc9a6d0eccea2ede304e37f2c85ef79f3c38852 (diff)
downloadpfsense-f2f1101d7f2ac80bd4f7d3f3c05ce0700f55a963.zip
pfsense-f2f1101d7f2ac80bd4f7d3f3c05ce0700f55a963.tar.gz
Add -H to rsync calls to preserve hardlinks
Diffstat (limited to 'tools/builder_common.sh')
-rw-r--r--tools/builder_common.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 3bc36df..f8cb207 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -1930,7 +1930,7 @@ pkg_repo_rsync() {
"mkdir -p ${PKG_RSYNC_DESTDIR}"
echo -n ">>> Sending updated repository to ${PKG_RSYNC_HOSTNAME}... " | tee -a ${_logfile}
- if script -aq ${_logfile} rsync -ave "ssh -p ${PKG_RSYNC_SSH_PORT}" \
+ if script -aq ${_logfile} rsync -Have "ssh -p ${PKG_RSYNC_SSH_PORT}" \
--timeout=60 --delete-delay ${_repo_path} \
${PKG_RSYNC_USERNAME}@${PKG_RSYNC_HOSTNAME}:${PKG_RSYNC_DESTDIR} >/dev/null 2>&1
then
@@ -1946,7 +1946,7 @@ pkg_repo_rsync() {
fi
if [ -n "${_IS_RELEASE}" -o "${_repo_path_param}" = "${CORE_PKG_PATH}" ]; then
- local _cmd="rsync -ave \"ssh -p ${PKG_FINAL_RSYNC_SSH_PORT}\" \
+ local _cmd="rsync -Have \"ssh -p ${PKG_FINAL_RSYNC_SSH_PORT}\" \
--timeout=60 --delete-delay ${PKG_RSYNC_DESTDIR}/./${_repo_base%%-core}* \
${PKG_FINAL_RSYNC_USERNAME}@${PKG_FINAL_RSYNC_HOSTNAME}:${PKG_FINAL_RSYNC_DESTDIR}"
OpenPOWER on IntegriCloud