Gentoo Archives: gentoo-dev

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v2 5/5] check-reqs.eclass: Repl. I_KNOW_WHAT_I_AM_DOING w/ CHECKREQS_DONOTHING
Date: Sun, 25 Jul 2021 00:28:37
Message-Id: 20210725002829.dlylp5du4zxex3l7@cerberus
In Reply to: [gentoo-dev] [PATCH v2 5/5] check-reqs.eclass: Repl. I_KNOW_WHAT_I_AM_DOING w/ CHECKREQS_DONOTHING by Andreas Sturmlechner
1 On 23.07.2021 08:58, Andreas Sturmlechner wrote:
2 > Signed-off-by: Andreas Sturmlechner <asturm@g.o>
3 > ---
4 > eclass/check-reqs.eclass | 13 ++++++++++---
5 > 1 file changed, 10 insertions(+), 3 deletions(-)
6 >
7 > diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass
8 > index 39e4bad1363..836dd0d4a1f 100644
9 > --- a/eclass/check-reqs.eclass
10 > +++ b/eclass/check-reqs.eclass
11 > @@ -68,6 +68,13 @@ _CHECK_REQS_ECLASS=1
12 > # @DESCRIPTION:
13 > # How much space is needed in /var? Eg.: CHECKREQS_DISK_VAR=3000M
14 >
15 > +# @ECLASS-VARIABLE: CHECKREQS_DONOTHING
16 > +# @USER_VARIABLE
17 > +# @DEFAULT_UNSET
18 > +# @DESCRIPTION:
19 > +# Do not error out in _check-reqs_output if requirements are not met.
20 > +# This is a user flag and should under _no circumstances_ be set in the ebuild.
21 ...snip...
22
23 note that developer profiles set I_KNOW_WHAT_I_AM_DOING="yes" by default
24
25 in profiles/targets/developer/make.defaults
26
27 I don't know if anyone seriously using this profile though.
28
29 --
30 Best regards,
31 Georgy