Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/diffpkg.in
diff options
context:
space:
mode:
authorBrian Bidulock <bidulock@openss7.org>2017-11-18 22:53:37 -0700
committerBrian Bidulock <bidulock@openss7.org>2017-11-18 22:53:37 -0700
commit2a7b784e0158b46f6895bef1de6dc8b0e4145be9 (patch)
treea78af3b1b8f10c2082ce66fa5dd8d3c2268d6623 /diffpkg.in
parent19f091cce81215ec963de34f390d8f41897602e0 (diff)
arch-nspawn should not take pacman cache from host
Previously, arch-nspawn was using the hosts' pacman cache in the chroot even when the chroot was set up with a different cache by mkarchroot, unless specified with the -c flag. Problem is that makechrootpkg passes no -C, -M nor -c flags to arch-nspawn, so all values must be obtained from the working directory. This change take the cache directories from the pacman.conf specified with the -C option unless the -c option was given (as is the case when the chroot is set up with mkarchroot), and, when neither -C nor -c is given (as is the case when invoked by makechrootpkg), the cache directory is taken from the pacman.conf in the working directory. This wasn't such an issue when i686 was mainline, however, which building packages in a chroot against archlinux32 on an x86_64 platform, the cache of the host should _never_ be used.
Diffstat (limited to 'diffpkg.in')
0 files changed, 0 insertions, 0 deletions