Fedora mirror - remove 28
Add a purge phase to remove old releases; remove Fedora 28 and stop mirroring. Update the atomic list while we're there. Fedora 28 was removed with Ic0b4b065a217dcfaa8c230cda53114793e93b803 Change-Id: If713844ac90ea37e8c4db30108c45d7a59832776
This commit is contained in:
parent
ffc7ac64e6
commit
fd7ffbcab4
@ -40,7 +40,11 @@ K5START="k5start -t -f /etc/fedora.keytab service/fedora-mirror -- ${TIMEOUT}"
|
||||
|
||||
echo_ts "----- START FEDORA MIRROR RSYNC RUN -----"
|
||||
|
||||
for REPO in releases/28 releases/29 releases/30; do
|
||||
# Purge old releases
|
||||
echo_ts "Purging old mirrors"
|
||||
$K5START rm -rf $BASE/releases/28 $BASE/updates/28
|
||||
|
||||
for REPO in releases/29 releases/30; do
|
||||
if ! [ -f $BASE/$REPO ]; then
|
||||
$K5START mkdir -p $BASE/$REPO
|
||||
fi
|
||||
@ -65,7 +69,7 @@ for REPO in releases/28 releases/29 releases/30; do
|
||||
echo_ts "... done"
|
||||
done
|
||||
|
||||
for REPO in updates/28 updates/29 updates/30; do
|
||||
for REPO in updates/29 updates/30; do
|
||||
if ! [ -f $BASE/$REPO ]; then
|
||||
$K5START mkdir -p $BASE/$REPO
|
||||
fi
|
||||
@ -99,6 +103,8 @@ $K5START rsync -rltDiz \
|
||||
--exclude="Atomic/" \
|
||||
--exclude="Fedora-Atomic-25-*/" \
|
||||
--exclude="Fedora-Atomic-26-*/" \
|
||||
--exclude="Fedora-Atomic-27-*/" \
|
||||
--exclude="Fedora-Atomic-28-*/" \
|
||||
--exclude="ppc64le/" \
|
||||
--exclude="images/*.raw.xz" \
|
||||
--exclude="images/*.box" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user