Christian Hesse list@eworm.de on Fri, 2017/07/14 12:04:
From: Christian Hesse mail@eworm.de
My system has a mirror configuration where only the host can access a special url from pacman.conf but chroots and containers fail.
Instead of host's pacman.conf use $pac_conf or pacman.conf from chroot. This still uses host's /etc/pacman.d/mirrorlist and should achieve the expected results.
Oh, this breaks if the chroot has repositories configured that the host does not have. *sigh*