FS#27544 - [devtools] mkarchroot should use mirror specified in chroot
Attached to Project:
Arch Linux
Opened by Bryce Nordgren (bnordgren) - Monday, 12 December 2011, 19:12 GMT
Last edited by Kristian (klausenbusk) - Saturday, 03 June 2023, 18:07 GMT
Opened by Bryce Nordgren (bnordgren) - Monday, 12 December 2011, 19:12 GMT
Last edited by Kristian (klausenbusk) - Saturday, 03 June 2023, 18:07 GMT
|
Details
Description:
When initially making a chroot, mkarchroot allows you to specify a makepkg.conf and pacman.conf, as well as a package cache. Subsequent invocations of makechrootpkg should respect the choice of mirror articulated in the custom pacman.conf. Instead, subsequent makechrootpkg invocations always examines the mirror used by the host. In my situation, the "host" has been held back at a repository snapshot, and I'm trying to recompile the packages I need from the AUR against a more recent snapshot before upgrading. It's an ez fix: on the first line which attempts to guess at a mirror to use, run pacman inside the chroot instead of on the host system. Additional info: * package version(s) = git repo trunk Steps to reproduce: * make a pacman.conf which specifies the use of different repositories than what the host uses * use this custom pacman.conf to create a chroot * build a package using makechrootpkg. Note that packages from step 2 come from the repositories you specified in the pacman.conf, and packages installed in step 3 come from the repositories specified by the host. |
This task depends upon
Closed by Kristian (klausenbusk)
Saturday, 03 June 2023, 18:07 GMT
Reason for closing: Upstream
Additional comments about closing: Please report upstream if this is still relevant: https://gitlab.archlinux.org/archlinux/d evtools.
Saturday, 03 June 2023, 18:07 GMT
Reason for closing: Upstream
Additional comments about closing: Please report upstream if this is still relevant: https://gitlab.archlinux.org/archlinux/d evtools.
./git-archprojects devtools master
git send-mail patch
FS#38641is a related problem.