Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] Guidance on adding kernel config checks to ebuilds
Date: Mon, 27 Sep 2021 17:15:28
Message-Id: CAJ0EP40tG37P3zbOOkNL7CZ_P2YXXyY6Dq0BATpock-JSNJGTw@mail.gmail.com
In Reply to: Re: [gentoo-dev] Guidance on adding kernel config checks to ebuilds by Mike Pagano
1 On Mon, Sep 27, 2021 at 12:23 PM Mike Pagano <mpagano@g.o> wrote:
2 > > Adding linux-info calls to pkg_pretend or pkg_setup causes slowdowns
3 > > when running emerge, so we should do so only when there is a
4 > > compensating benefit.
5 >
6 > Is this a significant slowdown? Do you have any numbers?
7
8 Adding a check for CONFIG_PACKET to the dhcpcd ebuild adds around 7
9 seconds of delay time to the pkg_setup and/or pkg_pretend phase on my
10 system.
11
12 That's ok if a small number of packages are doing it, but it would
13 become quite annoying if a significant number of them get queued up.

Replies

Subject Author
Re: [gentoo-dev] Guidance on adding kernel config checks to ebuilds "Robin H. Johnson" <robbat2@g.o>