[buildd-tools-devel] Bug#657709: please add a possibility to create a chroot

Marc Haber mh+debian-packages at zugschlus.de
Sat Jan 28 08:20:07 UTC 2012


Package: schroot
Version: 1.4.24-1
Severity: wishlist

Hi,

my normal procedure to create a new chroot for use with schroot is to
create the file system, mount it, and invoke debootstrap. In this
process, I notoriously forget additional packages to be installed into
the chroot before it is actually useable.

Why not add a --create or --initialize switch to schroot which will
just invoke the scripts from setup.d with a new stage "create" or
"init"? That way, a local admin could write code to create chroots in
the right place so that this functionality is where an schroot user
would expect it.

If schroot would feel like actually providing functionality behind
this options, the issue is a bit more complicated. One would need to
support multiple methods to create a new chroot, debootstrap and
cdebootstrap being two of them, and create possibilities to pass
parameters to these methods, probably via schroot.conf options and/or
options pulled from a config script.

Greetings
Marc





More information about the Buildd-tools-devel mailing list