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'.
This commit is contained in:
Evangelos Foutras 2015-06-03 21:16:52 +03:00
parent 763d8ffb53
commit 80ba87881a
1 changed files with 2 additions and 2 deletions

View File

@ -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" \