index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-05-13 20:11:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-05-13 20:45:27 +0200 |
commit | 6e66b2b928ecd3b84c832286a3cd4c877c7ed7b6 (patch) | |
tree | a44a1e389903b5ff8fcc2b865731e673ba57383e /arch-nspawn.in | |
parent | 49088b0860276c664933c2b3e36a2fef714b7a07 (diff) |
-rw-r--r-- | arch-nspawn.in | 5 |
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 \ |