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: [gentoo-portage-dev] Adding sets to @world in custom profile?
Date: Tue, 24 Nov 2015 17:25:15
Message-Id: 1448385903.7897.43.camel@infinera.com
1 I have created my own set, @cusfpv3, and now I want to
2 include this set in @world using my custom profile.
3 How can I do that?
4
5 I can add it in overlay/sets.conf:
6 [CUSFPv3 sets]
7 class = portage.sets.files.StaticFileSet
8 multiset = true
9 directory = %(PORTAGE_CONFIGROOT)s${repository:tmv3-target-overlay}/sets/
10
11 [world]
12 class = portage.sets.base.DummyPackageSet
13 packages =  @cusfpv3 @profile @selected @system
14
15 But then this set becomes active as soon as one add the overlay to
16 a machine and I do not want that.
17
18   Jocke

Replies