diff --git a/modules/openstack_project/files/mirror/fedora-mirror-update.sh b/modules/openstack_project/files/mirror/fedora-mirror-update.sh index 6b5f2a0ee1..d0d8888df5 100644 --- a/modules/openstack_project/files/mirror/fedora-mirror-update.sh +++ b/modules/openstack_project/files/mirror/fedora-mirror-update.sh @@ -25,7 +25,7 @@ if ! [ -f $BASE/$REPO ]; then fi date --iso-8601=ns -echo "Running rsync..." +echo "Running rsync releases..." $K5START rsync -rlptDvz \ --delete \ --delete-excluded \ @@ -40,6 +40,22 @@ $K5START rsync -rlptDvz \ --exclude="Workstation" \ $MIRROR/fedora/$REPO/ $BASE/$REPO/ +REPO=updates/25 +if ! [ -f $BASE/$REPO ]; then + $K5START mkdir -p $BASE/$REPO +fi + +date --iso-8601=ns +echo "Running rsync updates..." +$K5START rsync -rlptDvz \ + --delete \ + --delete-excluded \ + --exclude="armhfp/" \ + --exclude="i386/" \ + --exclude="SRPMS/" \ + --exclude="x86_64/debug" \ + $MIRROR/fedora/$REPO/ $BASE/$REPO/ + # TODO(pabelanger): Validate rsync process date --iso-8601=ns | $K5START tee $BASE/timestamp.txt