From 80ba87881ab698e9ed1c166642eeeaa60fd4be35 Mon Sep 17 00:00:00 2001 From: Evangelos Foutras Date: Wed, 3 Jun 2015 21:16:52 +0300 Subject: [PATCH] makechrootpkg: verify sources before preparing chroot This is needed in order to use GPG's auto-key-retrieve keyserver option, otherwise the keyring will get copied to the chroot before the required keys are retrieved during 'makepkg --verifysource'. --- makechrootpkg.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makechrootpkg.in b/makechrootpkg.in index 207a148..3c8a20f 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -384,10 +384,10 @@ $update_first && arch-nspawn "$copydir" \ [[ -n ${install_pkgs[*]} ]] && install_packages -prepare_chroot - download_sources +prepare_chroot + if arch-nspawn "$copydir" \ --bind-ro="$PWD:/startdir_host" \ --bind-ro="$SRCDEST:/srcdest_host" \ -- GitLab