mirror of
https://github.com/luzifer-docker/arch-repo-builder.git
synced 2024-12-20 17:41:19 +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
|
#!/bin/bash
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
|
[[ ${SKIP_VERIFY:-} == true ]] && exit 0
|
||||||
|
|
||||||
[ -f "PKGBUILD" ] || {
|
[ -f "PKGBUILD" ] || {
|
||||||
echo "No PKGBUILD file found"
|
echo "No PKGBUILD file found"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
4
run.sh
4
run.sh
|
@ -21,6 +21,10 @@ if [ ! -e PKGBUILD ]; then
|
||||||
cd /src/git
|
cd /src/git
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[[ ${SKIP_VERIFY:-} == true ]] && {
|
||||||
|
MAKEPKG_OPTS+=(--skippgpcheck)
|
||||||
|
}
|
||||||
|
|
||||||
[ -e /config/signing.asc ] && {
|
[ -e /config/signing.asc ] && {
|
||||||
gosu builder gpg --import </config/signing.asc
|
gosu builder gpg --import </config/signing.asc
|
||||||
MAKEPKG_OPTS+=(--sign)
|
MAKEPKG_OPTS+=(--sign)
|
||||||
|
|
Loading…
Reference in a new issue