From 292227931f2bd4079b4f913165dc101dd68e2d64 Mon Sep 17 00:00:00 2001 From: Gui Chen Date: Sun, 17 Aug 2014 23:31:20 -0400 Subject: [PATCH] fix static qemu-arm failed issue Change-Id: I44a2c69f4292306405857a0b8545d231f2b635f3 Signed-off-by: Gui Chen --- mic/utils/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4