[Bug 401782] [NEW] please build a static version of qemu-arm 0.11.x in a separate binary deb
Launchpad Bug Tracker
401782 at bugs.launchpad.net
Tue Sep 8 23:35:05 BST 2009
You have been subscribed to a public bug:
Binary package hint: qemu
qemu 0.11 is supposed to have eabi support in qemu-arm. to easily use a
an armel chroot under x86 similar to the variant described in
https://wiki.ubuntu.com/ARM/BuildEABIChroot the following is necessary:
1) register qemu-arm(-static) with binfmt misc properly with update-binfmts (see below)
2) build a static version of qemu-arm so the binary can be copied into an arm chroot
it would be nice to have a configure call similar to:
./configure --prefix=/usr --target-list=arm-linux-user --static
in debian/rules that spits out a static version of qemu-arm, then have a
qemu-arm-static deb package with the postinst and prerm scripts below:
postinst needs:
configure)
if [ "$1" = configure ] && [ -x /usr/sbin/update-binfmts ]; then
/usr/sbin/update-binfmts --import armel
fi
;;
prerm needs:
if [ "$1" = remove ] && [ -x /usr/sbin/update-binfmts ]; then
/usr/sbin/update-binfmts --package qemu-arm-static \
--remove arm /usr/bin/qemu-arm-static
fi
the imported armel file which needs to be in /usr/share/binfmts/ should
have the following content:
package qemu-arm-static
interpreter /usr/bin/qemu-arm-static
flags: OC
offset 0
magic \x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00
mask \xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff
** Affects: qemu-kvm (Ubuntu)
Importance: Wishlist
Assignee: Dustin Kirkland (kirkland)
Status: In Progress
** Affects: qemu (Debian)
Importance: Unknown
Status: New
--
please build a static version of qemu-arm 0.11.x in a separate binary deb
https://bugs.edge.launchpad.net/bugs/401782
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu.
More information about the Ubuntu-server-bugs
mailing list