mirror of
https://github.com/luzifer-aur/scripts.git
synced 2024-12-20 20:01:20 +00:00
Configure pacman for test builds
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a3960a3b36
commit
f113760a6f
2 changed files with 23 additions and 0 deletions
21
pacman.conf
Normal file
21
pacman.conf
Normal 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
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue