Merge "Add CentOS SIGs for CentOS Stream 9 to AFS mirrors"
This commit is contained in:
commit
5ffc5d6d01
@ -41,7 +41,7 @@ K5START="k5start -t -f /etc/centos-stream.keytab service/centos-stream-mirror --
|
||||
|
||||
MIRROR=rsync://mirror.facebook.net/centos-stream/9-stream/ # somewhere in US
|
||||
|
||||
if ! [ -f ${BASE_STREAM}/9-stream ]; then
|
||||
if ! [ -f ${BASE}/9-stream ]; then
|
||||
$K5START mkdir -p ${BASE}/9-stream
|
||||
fi
|
||||
date --iso-8601=ns
|
||||
@ -56,6 +56,31 @@ $K5START ${RSYNC} \
|
||||
--exclude="ppc64le" \
|
||||
$MIRROR ${BASE}/9-stream
|
||||
|
||||
#
|
||||
# -- Centos 9-stream SIGs --
|
||||
#
|
||||
|
||||
MIRROR=rsync://mirror.facebook.net/centos-stream/SIGs/9-stream/ # somewhere in US
|
||||
|
||||
if ! [ -f ${BASE}/SIGs/9-stream ]; then
|
||||
$K5START mkdir -p ${BASE}/SIGs/9-stream
|
||||
fi
|
||||
date --iso-8601=ns
|
||||
echo "Running Centos 9-stream SIGs rsync..."
|
||||
$K5START ${RSYNC} \
|
||||
--delete \
|
||||
--delete-excluded \
|
||||
--exclude="iso" \
|
||||
--exclude="debug" \
|
||||
--exclude="s390x" \
|
||||
--exclude="source" \
|
||||
--exclude="ppc64le" \
|
||||
--exclude="hyperscale" \
|
||||
--exclude="infra" \
|
||||
--exclude="kmods" \
|
||||
--exclude="virt" \
|
||||
$MIRROR ${BASE}/SIGs/9-stream
|
||||
|
||||
if [[ ${DRY_RUN:-0} -ne 1 ]]; then
|
||||
date --iso-8601=ns | $K5START tee $BASE/timestamp.txt
|
||||
echo "rsync completed successfully, running vos release."
|
||||
|
Loading…
x
Reference in New Issue
Block a user