From: Alejandro R. SedeƱo Date: Fri, 4 Mar 2022 00:46:10 +0000 (-0500) Subject: combine fedora and epel jobs into fedora-buffet X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=238111fc2e75ccc77e1afeeb014891724642a676;p=sipb-mirrors.git combine fedora and epel jobs into fedora-buffet --- diff --git a/fetch-scripts/fedora b/fetch-scripts/fedora-buffet similarity index 72% rename from fetch-scripts/fedora rename to fetch-scripts/fedora-buffet index 0c9ec40..73d6213 100644 --- a/fetch-scripts/fedora +++ b/fetch-scripts/fedora-buffet @@ -1,18 +1,19 @@ #!/bin/bash +# This script serves to sync the following modules from fedora-buffet: +# - fedora -> ${MIRRORDIR}/fedora +# - epel -> ${MIRRORDIR}/epel + +# To make quick-fedora-mirror happy, it does so through a bind mount, +# separate from the symlink farm at ${MIRRORDIR}. + # mirrors.mit.edu is on the IP ACL for fedora-buffet0 here # so we'll use it. Adjust these values if switching upstreams. RSYNCSOURCE=rsync://download-i2.fedoraproject.org MASTERMODULE=fedora-buffet0 PREBITFLIP=1 -# The remote module we want to sync from fedora-buffet[0]. -# Some call it fedora, others call it fedora-enchilada. -MODULE=fedora -# The local name for it. -MODULEDIR=fedora - -TIMEFILE="${MIRRORDIR}/.locks/fedora.timefile" +TIMEFILE="${MIRRORDIR}/.locks/fedora-buffet.timefile" QFM="./tools/fedora/quick-fedora-mirror" if ! [ -x "${QFM}" ]; then @@ -33,7 +34,7 @@ CONF="${TMPDIR}/qfm.conf" cat >"${CONF}" <"${CONF}" <