aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2021-11-06 20:03:57 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2021-11-06 20:03:57 -0700
commitd795d960b8ab7e011de99c16f763736f2c6308a9 (patch)
treec6991d814093c11863c5fef774a00c31cb9f1582
parentautobuilds: add m68k (diff)
downloadmastermirror-scripts-d795d960b8ab7e011de99c16f763736f2c6308a9.tar.gz
mastermirror-scripts-d795d960b8ab7e011de99c16f763736f2c6308a9.tar.bz2
mastermirror-scripts-d795d960b8ab7e011de99c16f763736f2c6308a9.zip
sync-autobuilds: preserve hardlinks for archive
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xsync-autobuilds.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/sync-autobuilds.sh b/sync-autobuilds.sh
index 4d1ccae..4ed2014 100755
--- a/sync-autobuilds.sh
+++ b/sync-autobuilds.sh
@@ -10,6 +10,9 @@ ARCHES="alpha amd64 arm64 arm hppa ia64 m68k ppc riscv s390 sh sparc x86"
# directories that would otherwise be deleted.
RSYNC_OPTS=(
-aO
+ --hard-links
+ --acls
+ --xattrs
--password-file=/etc/mastermirror-fetch/masterdistfiles-rsync.passwd
--delete
--delete-delay