internal setarch according to bootstrap environment
authorGui Chen <gui.chen@intel.com>
Tue, 19 Nov 2013 02:25:32 +0000 (21:25 -0500)
committerGui Chen <gui.chen@intel.com>
Tue, 19 Nov 2013 02:25:32 +0000 (21:25 -0500)
commit664b5dc0f725e7f03b8a64d5c468349306c5d1fe
tree5071ee65c0a55f1716878bdf14d91b77ede7ea55
parent0014945ae8f68e50d907fa01b21ef2d702bde25f
internal setarch according to bootstrap environment

when using 'uname -m' in bootstrap, it always shows
the arch from the physical host. but what needs is
the internal arch, so mic needs detect the binary
arch first, then setarch properly

Change-Id: I907f5442b11690dc624c7d3ae23c858804c802f0
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/rt_util.py