Gentoo Archives: gentoo-portage-dev

From: Joakim Tjernlund <Joakim.Tjernlund@××××××××.com>
To: "gentoo-portage-dev@l.g.o" <gentoo-portage-dev@l.g.o>
Subject: Re: [gentoo-portage-dev] Adding sets to @world in custom profile?
Date: Fri, 27 Nov 2015 08:13:02
Message-Id: 1448611973.23706.10.camel@infinera.com
In Reply to: Re: [gentoo-portage-dev] Adding sets to @world in custom profile? by Zac Medico
1 On Thu, 2015-11-26 at 10:47 -0800, Zac Medico wrote:
2 > On 11/24/2015 09:24 AM, Joakim Tjernlund wrote:
3 > > I have created my own set, @cusfpv3, and now I want to
4 > > include this set in @world using my custom profile.
5 > > How can I do that?
6 > >
7 > > I can add it in overlay/sets.conf:
8 > > [CUSFPv3 sets]
9 > > class = portage.sets.files.StaticFileSet
10 > > multiset = true
11 > > directory = %(PORTAGE_CONFIGROOT)s${repository:tmv3-target-overlay}/sets/
12 > >
13 > > [world]
14 > > class = portage.sets.base.DummyPackageSet
15 > > packages =  @cusfpv3 @profile @selected @system
16 > >
17 > > But then this set becomes active as soon as one add the overlay to
18 > > a machine and I do not want that.
19 > >
20 > >   Jocke
21 > >
22 >
23 > We could extend the @profile set to support nested sets. Would you like
24 > to file a feature request bug? For example, I requested support for the
25 > @profile set in this bug:
26 >
27 > https://bugs.gentoo.org/show_bug.cgi?id=532224
28
29 Feature req. in bug https://bugs.gentoo.org/show_bug.cgi?id=566960
30
31  Thanks
32          Jocke

Replies

Subject Author
Re: [gentoo-portage-dev] Adding sets to @world in custom profile? Joakim Tjernlund <Joakim.Tjernlund@××××××××.com>