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

Bug#732551: make --foreign / qemu-user-static easier



On 19 December 2013 11:21, Ian Campbell <ijc@hellion.org.uk> wrote:
> On Wed, 2013-12-18 at 13:08 -0400, Joey Hess wrote:
>> Package: debootstrap
>> Version: 1.0.55
>> Severity: wishlist
>>
>> If debootstrap installed qemu-user-static into the chroot
>> when --foreign was used
>
> That would get you the foreign binary of qemu-user-static, wouldn't it?
>
> What is needed is to copy /usr/bin/qemu-$ARCH-static from the host
> environment.
>

I use "mk-sbuild" utility which debootstraps native,
"qemu-user-static" native (copies from host, and i believe by means of
qemu-debootstrap), and cross chroots for any debian/ubuntu/custom
releases.

Works very well. Not sure it's at all appropriate for debootstrap to
grow such / similar extra features. Most recently using it for arm64
qemu-user-static native chroots and arm64 cross-compilation chroots.

(mk-sbuild has other tricks up it's sleeve as well, like setting up
snapshots using lvm/overlayfs/aufs, opting-in to use eatmydata, add
custom sources etc.)

-- 
Regards,

Dimitri.


Reply to: