1 |
On Thu, 2015-10-22 at 08:54 -0700, Zac Medico wrote: |
2 |
> On 10/22/2015 12:05 AM, Joakim Tjernlund wrote: |
3 |
> > I don't use world_sets, I have in my profile(/my/new/root/usr/local/portage/tmv3-target-overlay): |
4 |
> > # > cat sets.conf |
5 |
> > [CUSFPv3 sets] |
6 |
> > class = portage.sets.files.StaticFileSet |
7 |
> > multiset = true |
8 |
> > directory = ${repository:tmv3-target-overlay}/sets/ |
9 |
> > |
10 |
> > [world] |
11 |
> > class = portage.sets.base.DummyPackageSet |
12 |
> > packages = @cusfpv3 @profile @selected @system |
13 |
> > |
14 |
> > and in sets/: |
15 |
> > # > cat sets/cusfpv3 |
16 |
> > net-ftp/ftp |
17 |
> > net-ftp/tftp-hpa |
18 |
> > net-ftp/vsftpd |
19 |
> > .... |
20 |
> > |
21 |
> > and now it hits me, this line: |
22 |
> > directory = ${repository:tmv3-target-overlay}/sets/ |
23 |
> > does it always refer too ROOT=/ ? |
24 |
> |
25 |
> You need to use %(ROOT)s${repository:tmv3-target-overlay}/sets to |
26 |
> substitute $ROOT into the set configuration. For example, the default |
27 |
> set configuration located at /usr/share/portage/config/sets/portage.conf |
28 |
> does something similar with %(PORTAGE_CONFIGROOT)s. |
29 |
|
30 |
Nice! I am a bit puzzled over the trailing s in ..)s, is that a typo? if not |
31 |
what does it mean? |
32 |
|
33 |
Can I use %(PORTAGE_CONFIGROOT) in repos.conf too? or is it not needed? |