-current work, again.

Doing chroot on distant hosts involves chroot, obviously... This doesn't
work too well with sudo (the processes tends to be hard to kill, so if
you've got to interrupt dpb, ouch).

There are no exact instructions for using dpb in chroot settings.

Obviously, you need a fairly complete chroot install (duh, including
devices (so get rid of nosuid,nodev on that partition).

For local host, put everything in the chroot, do the chroot manually, THEN
build.

For distant hosts, it's slightly simpler to connect as root, because then
dpb can do "chroot -u user /build" *without* needing sudo, and hence
resulting in distant makes that are trivial to ^Z/^C if the need arises...

(-current gained changes to support that: initing a core runs whoami, thus
it knows whether you're root on the distant machine, and if so, chroot
runs directly without sudo).

Reply via email to