From 616e530abf595202101fc2a6df704c39d5286251 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Wed, 3 Apr 2019 04:42:56 -0400 Subject: add volatile bulid support repos to chroot pacman.conf (commented-out) --- src/chroot-tools/librechroot | 5 +++++ 1 file changed, 5 insertions(+) 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" -- cgit v1.2.2