[arch-projects] [devtools] [PATCH 1/1] arch-nspawn: get mirror url from chroot's pacman.conf

Christian Hesse list at eworm.de
Fri Jul 14 19:12:45 UTC 2017


Christian Hesse <list at eworm.de> on Fri, 2017/07/14 12:04:
> From: Christian Hesse <mail at 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*
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-projects/attachments/20170714/b46478ac/attachment.asc>


More information about the arch-projects mailing list