summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Usishchev <y.usishchev@samsung.com>2015-08-05 21:01:50 +0300
committerDongkyun, Son <dongkyun.s@samsung.com>2016-01-11 14:48:07 +0900
commita82bb814542d72d39c9d3f7e1de65be18e8768ba (patch)
tree99b65996ac89383175672d782e94b13c1eb60c5d
parent78a727bb4a499f71e964a2d8a99f195b5c8dcb6c (diff)
downloadqemu-a82bb814542d72d39c9d3f7e1de65be18e8768ba.tar.gz
qemu-a82bb814542d72d39c9d3f7e1de65be18e8768ba.tar.bz2
qemu-a82bb814542d72d39c9d3f7e1de65be18e8768ba.zip
Update baselibs for Tizen:
1. Rename exported binary, now binaries with identical names are installed in all builroots with acceleration 2. Set binfmt from postinstall script. This fixes wrong binfmt installed in OBS environment and allows us to run build on systems with different binfmt installed Change-Id: I0fb82b261b61f2246447de4f6dd382e9996a3932
-rw-r--r--packaging/baselibs.conf15
1 files changed, 10 insertions, 5 deletions
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
index dbe665759..123212018 100644
--- a/packaging/baselibs.conf
+++ b/packaging/baselibs.conf
@@ -1,8 +1,13 @@
-arch i686 targets armv7l:cross-arm aarch64:cross-arm
-arch x86_64 targets armv7l:cross-arm aarch64:cross-arm
+arch i686 targets armv7l:cross aarch64:cross
+arch x86_64 targets armv7l:cross aarch64:cross
-
-targettype cross-arm package qemu-linux-user
+targettype cross package qemu-linux-user
autoreqprov off
- extension -cross
+/
+ 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 )"
+ post "[ -e /proc/sys/fs/binfmt_misc/armeb ] && ( builtin echo -1 > /proc/sys/fs/binfmt_misc/armeb )"
+ post "builtin echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-binfmt:P' > /proc/sys/fs/binfmt_misc/register"
+ post "builtin echo ':armeb:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-armeb-binfmt:P' > /proc/sys/fs/binfmt_misc/register"
+ post "builtin echo ':aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-aarch64-binfmt:P' > /proc/sys/fs/binfmt_misc/register"