Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#21156 - [devtools] mkarchroot not getting server from mirrorlist
Attached to Project:
Arch Linux
Opened by Kevin Piche (kpiche) - Saturday, 09 October 2010, 04:24 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 24 October 2010, 09:04 GMT
Opened by Kevin Piche (kpiche) - Saturday, 09 October 2010, 04:24 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 24 October 2010, 09:04 GMT
|
DetailsDescription:
Noticed mkarchroot was always using server mirrors.kernel.org which is not the preferred server. The grep in mkarchroot pulls the first non-comment out of mirrorlist which happens to be a blank line on my system. I fixed it by changing (line 76): grep -v '^#' -m1 /etc/pacman.d/mirrorlist grep '^\s*Server' -m1 /etc/pacman.d/mirrorlist Additional info: * devtools 0.9.10-1 Steps to reproduce: 1. Don't have mirrors.kernel.org as the first server 2. Create/update a chroot and watch it download from mirrors.kernel.org |
This task depends upon
mkarchroot.patch
host_mirror=$(sed -n '/^Server/ {s#/os/(i686|x86_64)#/os/\$arch#g; p; q}' /etc/pacman.d/mirrorlist)
I just need to release a new version :-)