Don't download everything.
Some checks reported errors
continuous-integration/drone Build was killed

This commit is contained in:
Tobias Manske 2023-03-28 11:01:11 +02:00
parent 1a7016a930
commit 3b8bacc9f7
Signed by: tobias
GPG Key ID: 9164B527694A0709
2 changed files with 8 additions and 11 deletions

View File

@ -39,15 +39,11 @@ trap unlock EXIT INT TERM
echo "Pulling Repository" echo "Pulling Repository"
( (
mcli mirror --overwrite s3/repo/x86_64 /repo &>/dev/null mcli cp "s3/repo/x86_64/${AUR_REPO_NAME}.db.tar.xz" /repo
rm "/repo/${AUR_REPO_NAME}.db" mcli cp "s3/repo/x86_64/${AUR_REPO_NAME}.db.tar.xz.sig" /repo
rm "/repo/${AUR_REPO_NAME}.db.sig" mcli cp "s3/repo/x86_64/${AUR_REPO_NAME}.files.tar.xz" /repo
rm "/repo/${AUR_REPO_NAME}.files" mcli cp "s3/repo/x86_64/${AUR_REPO_NAME}.files.tar.xz.sig" /repo
# rm "/repo/${AUR_REPO_NAME}.files.sig"
ln -sf "/repo/${AUR_REPO_NAME}.db.tar.xz" "/repo/${AUR_REPO_NAME}.db"
ln -sf "/repo/${AUR_REPO_NAME}.files.tar.xz" "/repo/${AUR_REPO_NAME}.files"
ln -sf "/repo/${AUR_REPO_NAME}.db.tar.xz.sig" "/repo/${AUR_REPO_NAME}.db.sig"
ln -sf "/repo/${AUR_REPO_NAME}.files.tar.xz.sig" "/repo/${AUR_REPO_NAME}.files.sig"
) &>/dev/null ) &>/dev/null
if ! (aur repo >/dev/null 2>&1); then if ! (aur repo >/dev/null 2>&1); then
@ -81,7 +77,7 @@ find . -name PKGBUILD -execdir sh -c 'makepkg --printsrcinfo > .SRCINFO' \;
find . -iname PKGBUILD -exec dirname {} \; | aur srcver --no-prepare - >vcs find . -iname PKGBUILD -exec dirname {} \; | aur srcver --no-prepare - >vcs
# Rebuild all git packages # Rebuild all git packages
if [ ! -z "$NO_GIT_REBUILD" ]; then if [ -z "${NO_GIT_REBUILD:-}" ]; then
cut -f1 vcs | grep -e "-git$" | tee -a buildqueue cut -f1 vcs | grep -e "-git$" | tee -a buildqueue
fi fi

View File

@ -91,6 +91,7 @@ Include = /etc/pacman.d/mirrorlist
[rad4day] [rad4day]
SigLevel = Never SigLevel = Never
Server = file:///repo Server = file:///repo
Server = https://repo.tobiasmanske.de/os/$arch/
[options] [options]
NoExtract = usr/share/help/* !usr/share/help/en* NoExtract = usr/share/help/* !usr/share/help/en*