Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-24 14:12:19 +0100
committerErich Eckner <git@eckner.net>2018-03-24 21:36:35 +0100
commita7415934d9e6b436b10f7ea67a556b1a8fffc126 (patch)
tree88318731ecfb6431f4c50d8d700f1f3f343f2136
parent0148d7287c8b536fb969fcc7583ba866adaf7ad9 (diff)
makechrootpkg.in: add "pacman-key --populate" before calling "makepkg" to be sure to have a current pacman keyring
-rw-r--r--makechrootpkg.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 9c3330e..725a97c 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -226,6 +226,9 @@ _chrootbuild() {
# shellcheck source=/dev/null
. /etc/profile
+ # otherwise we might have missing keys
+ pacman-key --populate
+
# Beware, there are some stupid arbitrary rules on how you can
# use "$" in arguments to commands with "sudo -i". ${foo} or
# ${1} is OK, but $foo or $1 isn't.