Update centos-sync to cover CentOS-Stream
In order to make CentOS-Stream useful for people wanting to test upcoming parts there has been a request for an EPEL-next. This is a sync of packages which will allow for Stream to be copied to the batcave and then used by grobisplitter and koji for such needs. Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
This commit is contained in:
parent
3caa063699
commit
a38b6cbefb
1 changed files with 19 additions and 7 deletions
|
@ -1,12 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
RSYNC_DESTDIR=/mnt/fedora/app/fi-repo/centos/centos-8/
|
## Set up variables we use
|
||||||
RSYNC_MOD="CentOS-community-cage/centos/8/"
|
|
||||||
|
|
||||||
REPO_FROMDIR=/mnt/fedora/app/fi-repo/centos/centos-8/
|
|
||||||
|
|
||||||
mkdir -p ${RSYNC_DESTDIR}
|
|
||||||
|
|
||||||
RSYNC='/usr/bin/rsync'
|
RSYNC='/usr/bin/rsync'
|
||||||
RS_OPT="-avSHP --numeric-ids"
|
RS_OPT="-avSHP --numeric-ids"
|
||||||
#RS_DEADLY="--delete --delete-excluded --delete-delay --delay-updates"
|
#RS_DEADLY="--delete --delete-excluded --delete-delay --delay-updates"
|
||||||
|
@ -15,5 +9,23 @@ CENT_EXCLUDES="--exclude=isos --exclude=kickstart --exclude=s390x"
|
||||||
|
|
||||||
SERVER=centos-master01.iad2.fedoraproject.org
|
SERVER=centos-master01.iad2.fedoraproject.org
|
||||||
|
|
||||||
|
## Mirror regular CentOS-8
|
||||||
|
|
||||||
|
RSYNC_DESTDIR=/mnt/fedora/app/fi-repo/centos/centos-8/
|
||||||
|
RSYNC_MOD="CentOS-community-cage/centos/8/"
|
||||||
|
|
||||||
|
mkdir -p ${RSYNC_DESTDIR}
|
||||||
|
|
||||||
|
|
||||||
|
${RSYNC} ${RS_OPT} ${RS_DEADLY} ${CENT_EXCLUDES} ${SERVER}::${RSYNC_MOD} ${RSYNC_DESTDIR}
|
||||||
|
|
||||||
|
## Now mirror CentOS-8 Stream
|
||||||
|
|
||||||
|
RSYNC_DESTDIR=/mnt/fedora/app/fi-repo/centos/centos-8-stream/
|
||||||
|
RSYNC_MOD="CentOS-community-cage/centos/8-stream/"
|
||||||
|
|
||||||
|
mkdir -p ${RSYNC_DESTDIR}
|
||||||
|
|
||||||
|
|
||||||
${RSYNC} ${RS_OPT} ${RS_DEADLY} ${CENT_EXCLUDES} ${SERVER}::${RSYNC_MOD} ${RSYNC_DESTDIR}
|
${RSYNC} ${RS_OPT} ${RS_DEADLY} ${CENT_EXCLUDES} ${SERVER}::${RSYNC_MOD} ${RSYNC_DESTDIR}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue