[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] polystrap-binfmt for preparing the build host



Hi,

On Wed, Jun 29, 2011 at 10:46:57PM +0200, Yann Dirson wrote:
> * working on arm and armel targets on the same host
> * targetting squeeze and wheezy on the same host
> * developpers with no root access to the build host
> * experimenting with changes to the -L tree used qemu, without
>   simultaneously breaking builds 
> 
> To put it short, /etc/qemu-binfmt/* solve a per-user problem in a
> system-wide manner.  This is bad in itself.
An idea of mine to solve all those issues is, if qemu-user-static would
interpret an environment variable containing the elf interpreter prefix
that is normally given with -L.

I opened a wishlist bug for qemu here: 

If this is implemented in qemu, one would do something like this:

export QEMU_LD_PREFIX=/tmp/debian-sid-armel/
fakeroot fakechroot chroot /tmp/debian-sid-armel/ dpkg --configure -a

and by that one would no longer need /etc/qemu-binfmt/, would also
always have the fitting shared libraries for each built, would need no
root access to the build host and so on - probably targets all the
issues you have correctly listed above.

what do you think?

cheers, josch


Reply to: