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,16 +39,12 @@ 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"
|
) &>/dev/null
|
||||||
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
|
|
||||||
|
|
||||||
if ! (aur repo >/dev/null 2>&1); then
|
if ! (aur repo >/dev/null 2>&1); then
|
||||||
printf "Aur repo not initialized, initializing /repo...\n"
|
printf "Aur repo not initialized, initializing /repo...\n"
|
||||||
@ -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
|
||||||
|
|
||||||
|
@ -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*
|
||||||
|
Loading…
Reference in New Issue
Block a user