Configure pacman for test builds

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-01-17 00:10:40 +01:00
parent a3960a3b36
commit f113760a6f
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D
2 changed files with 23 additions and 0 deletions

21
pacman.conf Normal file
View file

@ -0,0 +1,21 @@
[options]
HoldPkg = pacman glibc
Architecture = auto
CheckSpace
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
[core]
Include = /etc/pacman.d/mirrorlist
[luzifer]
SigLevel = Required
Server = https://s3-eu-west-1.amazonaws.com/arch-luzifer-io/repo/$arch
[extra]
Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist

View file

@ -54,8 +54,10 @@ docker run --rm -i -u $(id -u) \
} }
# Check whether the build is possible # Check whether the build is possible
curl -sSfLo pacman.conf "https://github.com/luzifer-aur/scripts/raw/master/pacman.conf"
docker run --rm -i \ docker run --rm -i \
-v "$(pwd):/src" \ -v "$(pwd):/src" \
-v "$(pwd)/pacman.conf:/etc/pacman.conf:ro" \
luzifer/arch-repo-builder:latest luzifer/arch-repo-builder:latest
# Push changes including tags to fork # Push changes including tags to fork