Don't download everything.
Some checks reported errors
continuous-integration/drone Build was killed
Some checks reported errors
continuous-integration/drone Build was killed
This commit is contained in:
parent
1a7016a930
commit
3b8bacc9f7
@ -39,15 +39,11 @@ trap unlock EXIT INT TERM
|
||||
|
||||
echo "Pulling Repository"
|
||||
(
|
||||
mcli mirror --overwrite s3/repo/x86_64 /repo &>/dev/null
|
||||
rm "/repo/${AUR_REPO_NAME}.db"
|
||||
rm "/repo/${AUR_REPO_NAME}.db.sig"
|
||||
rm "/repo/${AUR_REPO_NAME}.files"
|
||||
# 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"
|
||||
mcli cp "s3/repo/x86_64/${AUR_REPO_NAME}.db.tar.xz" /repo
|
||||
mcli cp "s3/repo/x86_64/${AUR_REPO_NAME}.db.tar.xz.sig" /repo
|
||||
mcli cp "s3/repo/x86_64/${AUR_REPO_NAME}.files.tar.xz" /repo
|
||||
mcli cp "s3/repo/x86_64/${AUR_REPO_NAME}.files.tar.xz.sig" /repo
|
||||
|
||||
) &>/dev/null
|
||||
|
||||
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
|
||||
|
||||
# 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
|
||||
fi
|
||||
|
||||
|
@ -91,6 +91,7 @@ Include = /etc/pacman.d/mirrorlist
|
||||
[rad4day]
|
||||
SigLevel = Never
|
||||
Server = file:///repo
|
||||
Server = https://repo.tobiasmanske.de/os/$arch/
|
||||
|
||||
[options]
|
||||
NoExtract = usr/share/help/* !usr/share/help/en*
|
||||
|
Loading…
Reference in New Issue
Block a user