summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-27 12:30:23 +0200
committerErich Eckner <git@eckner.net>2018-03-24 21:36:35 +0100
commit0a58fb72977dd065f4154a49b5608fa163de17f7 (patch)
treecd8094d9a403c5e09d1f80dc93af3f18120f5022
parent62abacf473647b6e9a36e65ca5b238345c0367ba (diff)
downloaddevtools-0a58fb72977dd065f4154a49b5608fa163de17f7.tar.xz
makechrootpkg: put "keyserver-options auto-key-retrieve" into gpg.conf, so "git verify-tag" downloads missing key(s)
-rw-r--r--makechrootpkg.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 8e33499..f67489e 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -186,6 +186,7 @@ prepare_chroot() {
[[ -r $USER_HOME/$x ]] || continue
$install -m 644 "$USER_HOME/$x" "$copydir/build/$x"
done
+ echo 'keyserver-options auto-key-retrieve' >> "$copydir/build/.gnupg/gpg.conf"
sed -e '/^MAKEFLAGS=/d' -e '/^PACKAGER=/d' -i "$copydir/etc/makepkg.conf"
for x in BUILDDIR=/build PKGDEST=/pkgdest SRCPKGDEST=/srcpkgdest SRCDEST=/srcdest LOGDEST=/logdest \