mirror of
https://github.com/luzifer-docker/arch-repo-builder.git
synced 2024-10-17 22:34:20 +00:00
Allow to skip GPG verification for broken-ish packages
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
dee03ae4f0
commit
d39a2ccb02
2 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
set -eo pipefail
|
||||
|
||||
[[ ${SKIP_VERIFY:-} == true ]] && exit 0
|
||||
|
||||
[ -f "PKGBUILD" ] || {
|
||||
echo "No PKGBUILD file found"
|
||||
exit 1
|
||||
|
|
4
run.sh
4
run.sh
|
@ -21,6 +21,10 @@ if [ ! -e PKGBUILD ]; then
|
|||
cd /src/git
|
||||
fi
|
||||
|
||||
[[ ${SKIP_VERIFY:-} == true ]] && {
|
||||
MAKEPKG_OPTS+=(--skippgpcheck)
|
||||
}
|
||||
|
||||
[ -e /config/signing.asc ] && {
|
||||
gosu builder gpg --import </config/signing.asc
|
||||
MAKEPKG_OPTS+=(--sign)
|
||||
|
|
Loading…
Reference in a new issue