summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGui Chen <gui.chen@intel.com>2014-08-17 23:31:20 -0400
committeradmin <yuhuan.yang@samsung.com>2016-02-04 18:26:38 +0800
commitf47b62979f83da5d970d93b198527f48804e1048 (patch)
treeb88323e1a4582a18813fdfdc8f1af83513d2f2f1
parentb1861ea20d3d0b9140b69b3b623288009d723222 (diff)
downloadmic-f47b62979f83da5d970d93b198527f48804e1048.tar.gz
mic-f47b62979f83da5d970d93b198527f48804e1048.tar.bz2
mic-f47b62979f83da5d970d93b198527f48804e1048.zip
fix static qemu-arm failed issue
Change-Id: I44a2c69f4292306405857a0b8545d231f2b635f3 Signed-off-by: Gui Chen <gui.chen@intel.com>
-rwxr-xr-xmic/utils/misc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mic/utils/misc.py b/mic/utils/misc.py
index 24f08bf..1e337d9 100755
--- a/mic/utils/misc.py
+++ b/mic/utils/misc.py
@@ -913,7 +913,7 @@ def setup_qemu_emulator(rootdir, arch):
arm_binary = "qemu-arm"
if not os.path.exists("/usr/bin/qemu-arm") or not is_statically_linked("/usr/bin/qemu-arm"):
arm_binary = "qemu-arm-static"
- if not os.path.exists("/usr/bin/qemu-arm-static"):
+ if not os.path.exists("/usr/bin/%s" % arm_binary):
raise CreatorError("Please install a statically-linked %s" % arm_binary)
qemu_emulator = "/usr/bin/%s" % arm_binary