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

Replies