Hi, Michael Stapelberg <stapelb...@debian.org> writes: > Doing it in a script is one more step. The point of this endavour is to > make the setup as simple as possible.
I think creating a chroot in postinst is not good. Mostly because maintainer scripts should never fail, but this is too likely to fail (for example when there are network connection issues). Maintainer scripts must also *never* write to user home directories. Besides security issues this will also make maintainer scripts just fail. Just providing a script in the existing sbuild package to more easily setup a chroot with a standard configuration seems to be the better option to me. Ansgar