diff options
author | Evangelos Foutras <evangelos@foutrelis.com> | 2015-06-03 20:16:52 +0200 |
---|---|---|
committer | Evangelos Foutras <evangelos@foutrelis.com> | 2015-06-06 14:22:51 +0200 |
commit | 80ba87881ab698e9ed1c166642eeeaa60fd4be35 (patch) | |
tree | 737c5c3c08641e76a7e0d3b9f71f63a6e0e45ba0 /makechrootpkg.in | |
parent | 763d8ffb53c55fa3a1a8a46f779fd959ea776123 (diff) | |
download | devtools-80ba87881ab698e9ed1c166642eeeaa60fd4be35.tar.gz devtools-80ba87881ab698e9ed1c166642eeeaa60fd4be35.tar.xz |
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'.
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r-- | makechrootpkg.in | 4 |
1 files 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" \ |