projects
/
tools
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b3b78f
)
clean up old registered binfmt handlers before use it
author
Zhang Qiang
<qiang.z.zhang@intel.com>
Thu, 27 Feb 2014 02:57:44 +0000
(10:57 +0800)
committer
Zhang Qiang
<qiang.z.zhang@intel.com>
Thu, 3 Apr 2014 07:53:09 +0000
(15:53 +0800)
Change-Id: Ic3892e13ab28a1c83e885e0e087ab6675a4a3b71
init_buildsystem
patch
|
blob
|
history
diff --git
a/init_buildsystem
b/init_buildsystem
index
e72613a
..
58ec929
100755
(executable)
--- a/
init_buildsystem
+++ b/
init_buildsystem
@@
-688,6
+688,10
@@
else
#
if check_use_emulator; then
[ -n "$USE_SYSTEM_QEMU" ] && copy_qemu
+
+ echo "clean up registered binfmt handlers"
+ sudo sh -c "echo -1 >/proc/sys/fs/binfmt_misc/status"
+
echo "registering binfmt handlers for VM"
if [ -x "$BUILD_DIR/initvm.$BUILD_HOST_ARCH" -a -e "$BUILD_DIR/qemu-reg" ]; then