From 6e66b2b928ecd3b84c832286a3cd4c877c7ed7b6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 13 May 2017 20:11:21 +0200 Subject: enable i486, add mirror.archlinux32.org as pacman mirror for i*86 --- arch-nspawn.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch-nspawn.in') diff --git a/arch-nspawn.in b/arch-nspawn.in index 08ed2fa..7f9b344 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -107,6 +107,11 @@ copy_hostconf eval $(grep '^CARCH=' "$working_dir/etc/makepkg.conf") +if [[ "$CARCH" = i*86 ]]; then + host_mirror='https://mirror.archlinux32.org/$arch/$repo' + copy_hostconf +fi + [[ -z $nosetarch ]] || unset CARCH exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \ -- cgit v1.2.3-70-g09d2