Re: Adding chroot support to the dpkg functional testsuite (was Bug#580984...)
Guillem Jover wrote:
> Another possibility could be to use something like busybox-static, and
> install that in the chroot, then dpkg could be built statically and used
> there, this will most probably be a bit painful for the build system.
Why not install busybox plus any libs needed to run dpkg? The git test
suite has a script to do something like this at t/t1509/prepare-chroot.sh.