[buildd-tools-devel] Bug#677811: Bug#677816: qemu-user-static: Please make qemu support multiarch

Vagrant Cascadian vagrant at debian.org
Sun Jun 17 00:18:49 UTC 2012


On Sat, Jun 16, 2012 at 11:56:37PM +0100, Roger Leigh wrote:
> In order for qemu to be useful in chroot environments with
> binfmt-support, we have to currently copy or bind mount in
> the appropriate qemu binaries.  

That approach has a certain elegance to it...

> However, if qemu was itself
> multi-arch aware, we could simply install the qemu binaries
> for the host system architecture into the chroot, and have
> it all properly managed by dpkg/apt.

qemu-user-static doesn't need to be multi-arch aware, you can install a 
foreign qemu-user-static just fine. I tested just now to make sure. Works like
a charm.

This adds some additional space considerations to the chroot, with the 
additional apt Package lists and the extra qemu-user-static binaries for all 
the architectures qemu-user-static supports to ship a single file.


> Not sure if this should be M-A: foreign or M-A: same.  I
> think probably foreign, but probably needs checking with
> a multiarch expert like wookey.  If this could be done for
> wheezy, that would be great.

I checked in #multiarch, and vorlon suggested no changes were needed, and then
verified for sure.


live well,
  vagrant





More information about the Buildd-tools-devel mailing list