summaryrefslogtreecommitdiff
path: root/src/chroot-tools/librechroot
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2019-04-03 04:42:56 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2019-04-03 04:42:56 -0400
commit616e530abf595202101fc2a6df704c39d5286251 (patch)
tree088b4a70cf0e7b3da47c24120a1d06bc88b81ca7 /src/chroot-tools/librechroot
parent8e903786cc025a9404744391567492a2e254b066 (diff)
add volatile bulid support repos to chroot pacman.conf (commented-out)
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"