summaryrefslogtreecommitdiff
path: root/src/mkarchroot.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-01 10:38:05 +0200
committerErich Eckner <git@eckner.net>2022-12-08 12:57:22 +0100
commite11e5488dffe28f99151b4e30e3136c1665ef9cb (patch)
treee2bda5884920c134bc303048b5ac7bc731d4b3ab /src/mkarchroot.in
parenta40356bdeff8e9a5b93cf2b57de039abec57f9e3 (diff)
downloaddevtools-e11e5488dffe28f99151b4e30e3136c1665ef9cb.tar.xz
arch-nspawn should use the correct pacman config file
If arch-nspawn is called with -C, pacman inside the chroot will use the provided configuration file. This should also be the case for $pacconf_cmd and pacman outside the chroot. If arch-nspawn is called without -C, pacman inside the chroot will use $workdir/etc/pacman.conf -- again, $pacconf_cmd and pacman outside the chroot should use that, too. So lets just set $pac_conf in that case. For example, Arch Linux 32 provides separate pacman configurations inside /usr/share/devtools which use /etc/pacman.d/mirrorlist32 as mirrorlist for their build commands (extra-i686-build, etc.). This way, we can build i686 and x86_64 packages on the same x86_64 host with very minimal changes to devtools.
Diffstat (limited to 'src/mkarchroot.in')
0 files changed, 0 insertions, 0 deletions