summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Usishchev <y.usishchev@samsung.com>2015-09-24 19:06:28 +0300
committerDongkyun, Son <dongkyun.s@samsung.com>2016-01-09 20:21:25 +0900
commit430559420ebd096d64f56b2228902da9cbd24461 (patch)
tree0ac8947ab8b7d3fe06991ba10a6482a9bfa0d352
parent5de5eedf289c42818d1d9367d54fae1a24cb21f0 (diff)
downloadqemu-sandbox/dongkyun.s/tizen_base.tar.gz
qemu-sandbox/dongkyun.s/tizen_base.tar.bz2
qemu-sandbox/dongkyun.s/tizen_base.zip
mount binfmt_misc if neededsandbox/dongkyun.s/tizen_base
-rw-r--r--packaging/baselibs.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
index 123212018..8ecbf5a7e 100644
--- a/packaging/baselibs.conf
+++ b/packaging/baselibs.conf
@@ -4,6 +4,8 @@ arch x86_64 targets armv7l:cross aarch64:cross
targettype cross package qemu-linux-user
autoreqprov off
+/
+ post "[ ! -d /proc/sys/fs/binfmt_misc ] && ( /sbin/modprobe binfmt_misc )"
+ post "[ ! -f /proc/sys/fs/binfmt_misc/register ] && ( mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc )"
post "[ -e /proc/sys/fs/binfmt_misc/aarch64 ] && ( builtin echo -1 > /proc/sys/fs/binfmt_misc/aarch64 )"
post "[ -e /proc/sys/fs/binfmt_misc/arm64 ] && ( builtin echo -1 > /proc/sys/fs/binfmt_misc/arm64 )"
post "[ -e /proc/sys/fs/binfmt_misc/arm ] && ( builtin echo -1 > /proc/sys/fs/binfmt_misc/arm )"