From 90d5816ada311d14575d94982bafcb14d22d73eb Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Fri, 7 Mar 2025 11:03:26 +0900 Subject: [PATCH] Update setup_lxc.md Notes about pacman.conf and mirrorlist in CHROOT. --- docs/setup_lxc.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/setup_lxc.md b/docs/setup_lxc.md index 15478ba..a72be93 100644 --- a/docs/setup_lxc.md +++ b/docs/setup_lxc.md @@ -174,6 +174,19 @@ $ mkarchroot /home/build/chroot/root base base-devel cmake ninja
$ arch-nspawn /home/build/chroot/root pacman -S cmake
You may do this to also set proper locale information in the CHROOT. +You may want to uncomment some lines in +`/home/build/chroot/root/etc/pacman.conf` to allow fetching `multilib` packages. + + :::bash + # pacman.conf + ... + [multilib] + Include = /etc/pacman.d/mirrorlist + ... + +When the CHROOT is used to build packages by AnotherAURHelper, it should +automatically use the same mirrorlist as the one used by the LXC container. + ## Set up GnuPG for Signature Verifcation and Package Signing ### Checking GnuPG -- 2.49.0