summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-27 12:30:23 +0200
committerErich Eckner <git@eckner.net>2018-05-29 08:57:14 +0200
commitdeb4307f7b9d7aa0e5fdb49da81227ac3be216c9 (patch)
treebe441eb2a0d867c106896215d4035c6b5b7e6c63 /makechrootpkg.in
parentc29cb80d33315fc6023f68e93239508084a9ec23 (diff)
downloaddevtools32-deb4307f7b9d7aa0e5fdb49da81227ac3be216c9.tar.xz
makechrootpkg: put "keyserver-options auto-key-retrieve" into gpg.conf, so "git verify-tag" downloads missing key(s)
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 37e97e7..4ee87f2 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -182,6 +182,7 @@ prepare_chroot() {
printf >>"$copydir/etc/shadow" 'builduser:!!:%d::::::\n' "$(( $(date -u +%s) / 86400 ))"
$install -d "$copydir"/{build,startdir,{pkg,srcpkg,src,log}dest}
+ 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 \