repo mirror: Allow multi-arch local mirrors 97/19497/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sat, 18 Jun 2016 17:42:15 +0000 (19:42 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 24 Aug 2016 14:04:35 +0000 (16:04 +0200)
commit655e777a5adeb633e114d98ffb02f74b227ab437
tree96a3bb501586fc0f23ca136edbb23881179a357c
parentae8196be2c5863a5ca837828eead7188d608023d
repo mirror: Allow multi-arch local mirrors

Original patch from Stan, signed by me for upstreaming.

This patch allows specifying multiple architectures via UBUNTU_ARCH in
form of a list of space separated architectures. The first architecture
in the list is considered primary and will be used for building all the
deb packages by fuel-main. Additional architectures are added to allow
targets of other architectures to use the mirror.

NOTE: this imposes a requirement that all packages built are arch
independent (which is true so far).

[ Alexandru Avadanii ]
Reworked for applying on top of Fuel@OPNFV.
Pass UBUNTU_ARCH to Docker containers.

Change-Id: Ibc4ae03223545383813ac58ec34d44c1f97b4694
Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
build/Makefile
build/docker/Dockerfile
build/docker/runcontext
build/repo-multi-arch-local-mirrors.patch [new file with mode: 0644]