[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pro-tip: preinstall debhelper in your sbuild

On 03/25/2017 11:52 AM, Mattia Rizzolo wrote:
> On Sat, Mar 25, 2017 at 01:52:29AM +0100, Michael Biebl wrote:
>> Am 25.03.2017 um 01:17 schrieb gregor herrmann:
>>> On Fri, 24 Mar 2017 23:09:37 +0100, Michael Biebl wrote:
>>>> Installing debhelper (+dependencies) takes about 5s here (on a 6 year
>>>> old laptop with SSD+eatmydata). Most of that time seems to be spent in
>>>> man-db's postinst.
>>> For pbuilder/cowbuilder I'm using
>>> https://anonscm.debian.org/cgit/pkg-perl/packages/pkg-perl-tools.git/tree/examples/pbuilder-hooks/D10-man-db
>> Thanks for the hint, gregor.
>> I wonder whether we could convince the cowbuilder/pbuilder maintainers
>> to ship that config ootb. Have you tried that yet?
> Turns out I am doing that too on my machine, tbh I have no idea where is
> that coming from, I have that hook since ages.
> Apparently sbuild has been doing that since 2010.
> I will add it to pbuilder too, on the basis that if sbuild has been
> using it for 7 years, and several other developer had in pbuilder, it
> must be harmless :)

iirc I read about that hook somewhere on wiki.d.o years ago.
Currently it's in /usr/share/doc/pbuilder/examples/D80no-man-db-rebuild,
which was submitted in 2009 by gregoa ;)

Great if you implement that now directly.


Reply to: