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-11 14:50:18 +0900
commitfcf6ffb842b3e5610f34e292ce87faf123f00eae (patch)
tree0ac8947ab8b7d3fe06991ba10a6482a9bfa0d352
parentb2ef81dd329becffba8019ad32978e448bb59a91 (diff)
downloadqemu-fcf6ffb842b3e5610f34e292ce87faf123f00eae.tar.gz
qemu-fcf6ffb842b3e5610f34e292ce87faf123f00eae.tar.bz2
qemu-fcf6ffb842b3e5610f34e292ce87faf123f00eae.zip
Change-Id: Iead1a06555abcd46e348a62213386e6b4b5ace44
-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 )"