diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2019-04-03 04:42:56 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2019-04-03 04:42:56 -0400 |
commit | 616e530abf595202101fc2a6df704c39d5286251 (patch) | |
tree | 088b4a70cf0e7b3da47c24120a1d06bc88b81ca7 | |
parent | 8e903786cc025a9404744391567492a2e254b066 (diff) |
add volatile bulid support repos to chroot pacman.conf (commented-out)
-rwxr-xr-x | src/chroot-tools/librechroot | 5 |
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" |