[buildd-tools-devel] [PATCH] create-chroot: switch dpkg unsafe io on by default

Roger Leigh rleigh at codelibre.net
Wed Jun 6 12:19:50 UTC 2012


On Wed, Jun 06, 2012 at 03:15:05PM +0300, Riku Voipio wrote:
> On Wed, Jun 06, 2012 at 12:58:56PM +0100, Roger Leigh wrote:
> > Thanks for the patch.  We should probably implement this directly
> > in sbuild though--we already have a mechanism for setting these
> > which would be better placed than in the chroot creation script.
> 
> Ok, makes sense. I just added it the same place where the force-confnew
> was being set.

No worries--it's fine to do it this way if you want to.

> > BTW, more generically, one can now use "command-prefix=eatmydata"
> > and install eatmydata into the chroot.
> 
> Ok, I'll look at that as an option.

The advantage of this approach is that it works for every single
command run in the chroot using LD_PRELOAD, so it can potentially
speed up all operations, not just dpkg.


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