and it has to work with the remote rsync as well
host="fs"
[ "$1" ] && host="$1"
-rsync -avHP --noatime --exclude gitk.cache --exclude next-2'*'/ \
+rsync -avHP --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/'**' \
. "$(dirname $0)/common.sh"
-rsync -avHSXx --noatime --partial --delete \
+rsync -avHSUXx --open-noatime --partial --delete \
--exclude "gitk.cache" \
--include '/patches/***' \
--include '/mmotm/***' \
. "$(dirname $0)/common.sh"
-rsync -avHSXx --noatime --exclude next-history.git --exclude stats --exclude gitk.cache --delete ~/kernels/next/. ${build_host}:kernels/next/.
+rsync -avHSUXx --open-noatime --exclude next-history.git --exclude stats --exclude gitk.cache --delete ~/kernels/next/. ${build_host}:kernels/next/.
for i in $GIT_REPOS; do
echo "- $i/**"
done
-} | rsync -avHP --noatime --include-from - --delete . ozlabs.org:kernels/next/.
+} | rsync -avHP --open-noatime --include-from - --delete . ozlabs.org:kernels/next/.
ssh ozlabs.org "touch kernels/NEXT-DONE"