summaryrefslogtreecommitdiff
path: root/src/chroot-tools/librechroot
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot-tools/librechroot')
-rwxr-xr-xsrc/chroot-tools/librechroot5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index b3cf041..1c76661 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -329,6 +329,11 @@ main() {
-e "s|^.*Include\s*=\s*/etc/pacman.d/.*\.conf|#&|" \
< "/usr/share/pacman/defaults/pacman.conf.$OPTARG" \
> "$tmppacmanconf"
+ echo -e '\n\n# Enable the volatile i686 [build-support] repo only as needed.' \
+ '\n#[build-support]\n#Server = http://mirror.archlinux32.org/$arch/$repo/' \
+ '\n\n# Enable the volatile arm [aur] repo only as needed.' \
+ '\n#[aur]\n#Server = https://mirror.archlinuxarm.org/$arch/$repo/' \
+ >> "$tmppacmanconf"
arch_nspawn_flags+=(
-C "$tmppacmanconf"
-M "/usr/share/pacman/defaults/makepkg.conf.$OPTARG"