Gentoo Archives: gentoo-dev

From: Daniel Black <dragonheart@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] eclass proposal - savedconfig.eclass
Date: Thu, 01 Feb 2007 09:03:51
Message-Id: 200702012001.08439.dragonheart@gentoo.org
In Reply to: Re: [gentoo-dev] eclass proposal - savedconfig.eclass by Brian Harring
1 On Thursday 01 February 2007 18:55, Brian Harring wrote:
2 > On Thu, Feb 01, 2007 at 06:21:01PM +1100, Daniel Black wrote:
3 > > Fellow devs,
4 > > WARN_CONFIG
5 > >
6 > > warn_config (useflags)
7 > >
8 > > warns the user that the useflags have been overridden by savedconfig
9 > >
10 > > Anything else?
11 >
12 > overriding use flags by a secondary configuration is a mess waiting to
13 > happen... needs actual integration in some fashion imo, rather then
14 > "well... you probably should define it in both since it may ignore
15 > it".
16
17 So some foo that says:
18 die "you have enabled X USE flag but your saved config reflects the X USE flag
19 been unset. Please correct your saved config by setting GUI=yes
20 in /etc/portage/savedconfig/${CATEGORY}/${PXXX}/config.h or unset the USE
21 flag X."
22
23 Suggested implementation?
24
25 > Goes without saying, ignoring manager forced use configuration also
26 > means crap/missing deps are thus possible...
27
28 Yes. So a consistant USE flags/savedconfig is highly desireable.
29
30 >
31 > Feel free to clarify that little snippet ;)
32 > ~harring
33
34 --
35 Daniel Black <dragonheart@g.o>
36 Gentoo Foundation

Replies

Subject Author
Re: [gentoo-dev] eclass proposal - savedconfig.eclass Mike Frysinger <vapier@g.o>