Bug#606158: refreshed patch

Guido Günther agx at sigxcpu.org
Tue Apr 16 08:39:36 UTC 2013


Hi,
On Sun, Dec 16, 2012 at 08:25:13PM +0100, Adam Borowski wrote:
> On Sun, Dec 16, 2012 at 05:49:02PM +0000, Thorsten Glaser wrote:
> > Adam Borowski dixit:
> > 
> > >Please apply, even on ext4 it makes a drastic speed-up.
> > 
> > It’s buggy:
> 
> I admit, I haven't reviewed it beyond rebasing Adrian's work and checking
> that the basic functionality works.
> 
> > pbuilder_old_LD_PRELOAD is not initialised in all
> > cases, and this can break (for example when already called with
> > eatmydata and pbuilder’s automatic one was disabled).
> 
> So pbuilder_old_LD_PRELOAD="$LD_PRELOAD" needs to be moved before the "if".
> 
> I'm not sure what should happen if eatmydata was already enabled but
> pbuilder is set to not use it.  There's no regression, at least -- you might
> get some spam about the library not being present.
> 
> > It also doesn’t catch the case where eatmydata isn’t available
> > outside of the build chroot but inside very well.
> 
> Again a simple fix, but considering eatmydata's size, a simple dependency
> would be safer -- less moving parts.

Any chance this gets integrated into pbuilder? Having this out of the
box (like ccache support) would be awesome.
Cheers,
 -- Guido



More information about the Pbuilder-maint mailing list