diff options
author | Brian Bidulock <bidulock@openss7.org> | 2017-11-18 22:53:37 -0700 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-17 22:52:35 +0200 |
commit | 1d00156cb167d0440a711b1befac74f16289241f (patch) | |
tree | 0c747b014db901328254a932789599cf52c87c5e /archbuild | |
parent | c1882319c322d5ba51f98c046815cfe190cf16ca (diff) | |
download | devtools32-1d00156cb167d0440a711b1befac74f16289241f.tar.xz |
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 'archbuild')
0 files changed, 0 insertions, 0 deletions