[buildd-tools-devel] Bug#545215: Bug#545215: Please support saving chroot to tarball in sbuild-createchroot
Andres Mejia
mcitadel at gmail.com
Fri Sep 11 04:20:11 UTC 2009
On Monday 07 September 2009 13:32:52 Roger Leigh wrote:
> On Sat, Sep 05, 2009 at 02:56:37PM -0400, Andres Mejia wrote:
> > I would like sbuild-createchroot to be able to handle building a chroot
> > and then saving it to a tarball for later reuse.
>
> That's doable. Do you have any suggestion for suitable command
> line options to enable this?
>
> I guess one needs to choose a name for the tarball, and maybe
> choose whether to delete the original bootstrapped tree as well?
I think we should use the same options as debootstrap to make it consistent. So
'--make-tarball=FILE' should be the option to make a tarball at FILE. It seems
'--keep-debootstrap-dir' is already an option for sbuild-createchroot. Perhaps
sbuild-createchroot should have the option '--keep-sbuildchroot-dir' to keep the
sbuild chroot created (I presume the default would be to delete the chroot if
making a tarball).
--
Regards,
Andres
More information about the Buildd-tools-devel
mailing list