Do not enable i386 by default on amd64 host

This commit is contained in:
Renato Botelho 2016-05-12 17:22:03 -03:00
parent ac4645244f
commit 44b30d595f

View File

@ -1960,11 +1960,11 @@ pkg_repo_rsync() {
poudriere_possible_archs() {
local _arch=$(uname -m)
local _archs="i386.i386"
local _archs=""
# If host is amd64, we'll create both repos, and if possible armv6
if [ "${_arch}" = "amd64" ]; then
_archs="amd64.amd64 ${_archs}"
_archs="amd64.amd64"
if [ -f /usr/local/bin/qemu-arm-static ]; then
# Make sure binmiscctl is ok