[buildd-tools-devel] Bug#751732: Bug#751732: Bug#751732: sbuild-createchroot: No overlay configured by default

Roger Leigh rleigh at codelibre.net
Wed Jun 18 22:20:43 UTC 2014


On Mon, Jun 16, 2014 at 09:02:10AM +0100, Wookey wrote:
> +++ Martin Pitt [2014-06-16 06:40 +0200]:
> > Package: sbuild
> > Version: 0.64.1-1
> > 
> > Hello,
> > 
> > When calling sbuild-createchroot like shown in the manpage example:
> > 
> >   sudo sbuild-createchroot jessie /tmp/jessie http://ftp.de.debian.org/debian/
> 
> > I. e. this uses type=directory without *any* overlay,
> > 
> > I'd say this is a fairly unexpected and even misleading default
> > configuration. IMHO it should set up a proper union-type, or if that's
> > somehow not appropriate (e. g. if not all Debian kernel support aufs),
> > rather default to type=tarball.
> 
> I don't think it's 'unexpected' for a chroot-creation tool to just
> make a plain chroot by default. That certainly what I always
> expected. However in the context of building packages, which is really
> sbuild's main purpose, a clean chroot for repeatable builds is such a
> good idea that I agree it should be the default. Or at the very least
> that the manpage example shows the tarball case (which is the one I
> always quote in docs).

Historically, we defaulted to plain directories for simplicity.
Today, making tar the default for sbuild is the simplest way
to get working throwaway sessions.  As before, more complex/
performant configuration will require manual action.  For
portability, tar is definitely preferable to overlays as the
default.

I'd be happy for sbuild-createchroot to switch to tar by default;
please feel free to commit and upload such a change.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Buildd-tools-devel mailing list