]> git.seodisparate.com - AnotherAURHelper/commitdiff
Update setup_lxc.md mkdocs
authorStephen Seo <seo.disparate@gmail.com>
Fri, 7 Mar 2025 02:03:26 +0000 (11:03 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Fri, 7 Mar 2025 02:03:26 +0000 (11:03 +0900)
Notes about pacman.conf and mirrorlist in CHROOT.

docs/setup_lxc.md

index 15478ba4fe28a0fce043687784031af187d436c8..a72be93e19c1b0c834a6f120c2e825289a2cea0d 100644 (file)
@@ -174,6 +174,19 @@ $ mkarchroot /home/build/chroot/root base base-devel cmake ninja</span></code></
     <div class="codehilite"><pre><code><span class="lxc">$ arch-nspawn /home/build/chroot/root pacman -S cmake</span></code></pre></div>  
     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