[buildd-tools-devel] Bug#657709: Bug#657709: please add a possibility to create a chroot
Marc Haber
mh+debian-bugs at zugschlus.de
Sat Jan 28 14:01:36 UTC 2012
On Sat, Jan 28, 2012 at 10:46:15AM +0000, Roger Leigh wrote:
> On Sat, Jan 28, 2012 at 09:20:07AM +0100, Marc Haber wrote:
> > 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.
>
> I'm not sure I'm seeing the whole picture here. If I understand
> correctly, you want to run debootstrap by hand first, and then
> have schroot do some initial setup on the chroot, presumably when you
> first use it?
I would want to be able to have schroot run debootstrap on request,
perfectly with parameters that I can choose.
> Are you aware of sbuild-createchroot, which does this to some
> extent, but is limited to "directory" chroots at the moment--you
> have to customise it after creation if you want anything fancier.
Yes, that's the cause because I would like to have it fancier, I'd
like to be able to quickly ditch and re-create a lvm-snapshot type
chroot Master.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062
More information about the Buildd-tools-devel
mailing list