diff options
author | Erich Eckner <git@eckner.net> | 2019-04-01 10:38:05 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-23 21:00:11 +0100 |
commit | 82649ab50108ebe4d281756278edb01d5884eeea (patch) | |
tree | 6834012c29a311fa65fabdec0faaa1d6e5d52f33 /README.md | |
parent | d83edfebf88f4aa3c75f4335d49ccbca7d09d0e8 (diff) | |
download | devtools32-82649ab50108ebe4d281756278edb01d5884eeea.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 'README.md')
0 files changed, 0 insertions, 0 deletions