X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=to_build_host;h=621ade502b7262ddfc28c04c785cfe4fb18153f2;hb=HEAD;hp=fad8be3a4a43297b434815944eced7b64283b423;hpb=19ce761aa781bdfba2b82c30ff9ffe69aa1c5f9d;p=next-scripts diff --git a/to_build_host b/to_build_host index fad8be3..621ade5 100755 --- a/to_build_host +++ b/to_build_host @@ -1,5 +1,17 @@ #!/bin/sh +[ -e "SHA1s" ] && { + echo "Found SHA1s file ... exitting" 1>&2 + exit 1 +} + . "$(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 -avHSUXx --open-noatime --delete --delete-excluded \ + --exclude gitk.cache --exclude /next-history.git --exclude /stats \ + --include /next-fixes/.git --include /next-fixes/.git/** \ + --exclude /next-fixes/** \ + --exclude /etc/.git --exclude /tools/.git \ + --exclude /mails --exclude /quilt \ + --exclude /last_msg --exclude /summ* \ + ~/kernels/next/. ${build_host}:kernels/next/.