summaryrefslogtreecommitdiff
path: root/arch-nspawn.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-05-13 20:11:21 +0200
committerErich Eckner <git@eckner.net>2017-05-13 20:45:27 +0200
commit6e66b2b928ecd3b84c832286a3cd4c877c7ed7b6 (patch)
treea44a1e389903b5ff8fcc2b865731e673ba57383e /arch-nspawn.in
parent49088b0860276c664933c2b3e36a2fef714b7a07 (diff)
downloaddevtools32-6e66b2b928ecd3b84c832286a3cd4c877c7ed7b6.tar.xz
enable i486, add mirror.archlinux32.org as pacman mirror for i*86v20170513archlinux32/v20170513
Diffstat (limited to 'arch-nspawn.in')
-rw-r--r--arch-nspawn.in5
1 files changed, 5 insertions, 0 deletions
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 \