summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-27 12:30:23 +0200
committerErich Eckner <git@eckner.net>2018-05-16 16:39:44 +0200
commit67b407b61eaad1d8c255b8ec17d3818348244bd6 (patch)
tree28bcbd5bb6b5d87fd5e029d2873f44a108df4696
parent104cf58db038f9af73b276816d88cd16d3b3bad8 (diff)
downloaddevtools32-67b407b61eaad1d8c255b8ec17d3818348244bd6.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 57231d5..bfc447a 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -187,6 +187,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 \