From: Stephen Rothwell Date: Mon, 4 Mar 2019 22:36:56 +0000 (+1100) Subject: use (Debian) rsync's --noatime option X-Git-Url: https://git.ozlabs.org/?p=next-scripts;a=commitdiff_plain;h=3b99340549c893f2d2f77463de92967c4c8cf996 use (Debian) rsync's --noatime option --- diff --git a/backup_next b/backup_next index 70abf7f..d1e8521 100755 --- a/backup_next +++ b/backup_next @@ -3,7 +3,7 @@ host="fs" [ "$1" ] && host="$1" -rsync -avHP --exclude gitk.cache --exclude next-2'*'/ \ +rsync -avHP --noatime --exclude gitk.cache --exclude next-2'*'/ \ --include mmotm/.git --include mmotm/.git/'**' --exclude mmotm/'**' \ --include next/.git --include next/.git/'**' --exclude next/'**' \ --include quilt/.git --include quilt/.git/'**' --exclude quilt/'**' \ diff --git a/from_build_host b/from_build_host index 32a8235..809eca0 100755 --- a/from_build_host +++ b/from_build_host @@ -2,7 +2,7 @@ . "$(dirname $0)/common.sh" -rsync -avHSXx --partial --delete \ +rsync -avHSXx --noatime --partial --delete \ --exclude "gitk.cache" \ --include '/patches/***' \ --include '/mmotm/***' \ diff --git a/to_build_host b/to_build_host index 14afe0d..d0176db 100755 --- a/to_build_host +++ b/to_build_host @@ -7,4 +7,4 @@ . "$(dirname $0)/common.sh" -rsync -avHSXx --exclude next-history.git --exclude stats --exclude next/.git/gitk.cache --delete ~/kernels/next/. ${build_host}:kernels/next/. +rsync -avHSXx --noatime --exclude next-history.git --exclude stats --exclude next/.git/gitk.cache --delete ~/kernels/next/. ${build_host}:kernels/next/. diff --git a/to_ozlabs b/to_ozlabs index 268c09e..25a8bf5 100755 --- a/to_ozlabs +++ b/to_ozlabs @@ -34,7 +34,7 @@ EOF for i in $GIT_REPOS; do echo "- $i/**" done -} | rsync -avHP --include-from - --delete . ozlabs.org:kernels/next/. +} | rsync -avHP --noatime --include-from - --delete . ozlabs.org:kernels/next/. ssh ozlabs.org "touch kernels/NEXT-DONE"