commit 2fcf4ddff4cae96646a29bf496eaaab5a0e1fadc Author: Clark Boylan Date: Tue Sep 29 13:36:25 2020 -0700 Exclude private dirs when mirroring fedora The upstream mirror may have private contents in dirs like .~tmp~/ or snapshot/. We exclude these to avoid syncing problems when we don't have permissions to read them. Change-Id: I8d366f0e95667bfbe65f259877b13bd0d93cd877 diff --git a/playbooks/roles/mirror-update/files/fedora-mirror-update b/playbooks/roles/mirror-update/files/fedora-mirror-update index e8b30a9..f32d99a 100755 --- a/playbooks/roles/mirror-update/files/fedora-mirror-update +++ b/playbooks/roles/mirror-update/files/fedora-mirror-update @@ -70,6 +70,10 @@ for REPO in releases/31 releases/32 development/rawhide; do --exclude="Workstation" \ --exclude="x86_64/debug/" \ --exclude="x86_64/drpms/" \ + --exclude="snapshot/" \ + --exclude=".~tmp~/" \ + --exclude=".private/" \ + --exclude=".nfs*" \ $MIRROR/$REPO/ $BASE/$REPO/ echo_ts "... done" done @@ -90,6 +94,10 @@ for REPO in updates/31 updates/32; do --exclude="SRPMS/" \ --exclude="x86_64/debug" \ --exclude="x86_64/drpms" \ + --exclude="snapshot/" \ + --exclude=".~tmp~/" \ + --exclude=".private/" \ + --exclude=".nfs*" \ $MIRROR/$REPO/ $BASE/$REPO/ echo_ts "... done" done