mkchrootpkg: 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:
Ramon Buldó 2015-06-07 00:24:10 +02:00
parent 83cc1d9545
commit b2e3b36cae

View file

@ -367,10 +367,10 @@ $update_first && chroot-run \
[[ -n ${install_pkgs[*]} ]] && install_packages
prepare_chroot
download_sources
prepare_chroot
mountargs_ro="${PWD}:/startdir_host,${SRCDEST}:/srcdest_host"
if chroot-run -r "${mountargs_ro}" \