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

Re: foreign bootstrap



On Sun, Jul 10, 2011 at 02:47:47PM +0200, Loïc Minier wrote:
>  There's a qemu-debootstrap script in qemu-user-static; does this help?

The "core" of that script:

 eval run debootstrap --arch "$deb_arch" --foreign $opts $args
 mkdir -p "$target/usr/bin"
 cp $(which "qemu-$qemu_arch-static") "$target/usr/bin"
 run chroot "$target" /debootstrap/debootstrap --second-stage



Reply to: