You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
692 B
36 lines
692 B
#!/bin/sh
|
|
|
|
set -Eeuo pipefail
|
|
|
|
mkdir -p REPO/x86_64 REPO/sources
|
|
|
|
rsync -a --ignore-existing RPMS/x86_64/ REPO/x86_64
|
|
rsync -a --ignore-existing SRPMS/ REPO/sources
|
|
|
|
createrepo REPO/x86_64
|
|
createrepo REPO/sources
|
|
|
|
cat > REPO/itix.repo <<"EOF"
|
|
[itix]
|
|
name=ITIX $releasever - $basearch
|
|
baseurl=https://f003.backblazeb2.com/file/itix-rpms/$basearch/
|
|
enabled=1
|
|
countme=1
|
|
metadata_expire=7d
|
|
repo_gpgcheck=0
|
|
type=rpm
|
|
gpgcheck=0
|
|
skip_if_unavailable=False
|
|
|
|
[itix-source]
|
|
name=ITIX $releasever - Source
|
|
baseurl=https://f003.backblazeb2.com/file/itix-rpms/sources/
|
|
enabled=0
|
|
metadata_expire=7d
|
|
repo_gpgcheck=0
|
|
type=rpm
|
|
gpgcheck=0
|
|
skip_if_unavailable=False
|
|
EOF
|
|
|
|
rclone sync -P REPO/ backblaze:itix-rpms
|
|
|