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 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

