|
|
|
@ -76,6 +76,36 @@ $K5START rsync -rltvz --no-perms \
|
|
|
|
|
--delete \
|
|
|
|
|
--delete-excluded \
|
|
|
|
|
--exclude="Everything/SRPMS" \
|
|
|
|
|
--exclude="Everything/source" \
|
|
|
|
|
--exclude="Everything/ppc64le" \
|
|
|
|
|
--exclude="Everything/s390x" \
|
|
|
|
|
--exclude="Everything/*/debug" \
|
|
|
|
|
$MIRROR/$REPO/ $BASE/$REPO/
|
|
|
|
|
|
|
|
|
|
# NOTE(pabelanger): Validate repomd.xml with upstream release version, this is
|
|
|
|
|
# to help protect when our upstream mirror (mirrors.kernel.org) is out of sync
|
|
|
|
|
# with its upstream mirror.
|
|
|
|
|
REPOMD="Everything/x86_64/repodata/repomd.xml"
|
|
|
|
|
SHA1SUM=`curl -s https://dl.fedoraproject.org/pub/epel/8/$REPOMD | sha1sum | cut -d' ' -f1`
|
|
|
|
|
echo "$SHA1SUM $BASE/$REPO/$REPOMD" | sha1sum -c -
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# EPEL 9
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
REPO=9
|
|
|
|
|
if ! [ -f $BASE/$REPO ]; then
|
|
|
|
|
$K5START mkdir -p $BASE/$REPO
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
date --iso-8601=ns
|
|
|
|
|
echo "Running rsync..."
|
|
|
|
|
# --no-perms because some of the top-level directories are 02755
|
|
|
|
|
# (setgid) and we can't set that on AFS
|
|
|
|
|
$K5START rsync -rltvz --no-perms \
|
|
|
|
|
--delete \
|
|
|
|
|
--delete-excluded \
|
|
|
|
|
--exclude="Everything/source" \
|
|
|
|
|
--exclude="Everything/ppc64le" \
|
|
|
|
|
--exclude="Everything/s390x" \
|
|
|
|
|
--exclude="Everything/*/debug" \
|
|
|
|
|