Gentoo Archives: gentoo-dev

From: "Vadim A. Misbakh-Soloviov" <gentoo@×××.name>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Questions on overlays, repositories and PMS
Date: Fri, 23 Feb 2018 18:11:14
Message-Id: 3591987.NtP7jN4AEN@note
In Reply to: [gentoo-dev] Questions on overlays, repositories and PMS by Michael Lienhardt
1 > Or in other word, it is enough to only look at /etc/portage/repos.conf?
2 No
3
4 > In general, an overlay is a repository, i.e., a valid tree layout for the
5 Yes
6
7 > - can the profiles in a repository different from DEFAULT be selected?
8 Yes
9
10 > - is the package.mask file apply only on the packages of that repository, or on every packages of
11 > every repositories listed in /etc/portage/repos.conf?
12 Actually, I can't remember the correct answer right now, but definitelly it have the effect on repos, that states this repo as master.
13
14 > is such information implicitly inherited from the DEFAULT repository (even
15 > though https://wiki.gentoo.org/wiki//etc/portage/repos.conf states that it
16 > is not)?
17 Usually, that info is inerited from `master` repo of the current repo (that is stated in the layout conf file)
18
19 > the brother overlay (https://github.com/stefan-langenmaier/brother-overlay) does not specify
20 > any masters
21 Eeeerm?
22 https://github.com/stefan-langenmaier/brother-overlay/blob/master/metadata/layout.conf#L1
23
24 > - when the eclass folder, profiles/arch.list and such are
25 > present, is the data from the DEFAULT repository still implicitly
26 > inherited?
27 I still insist on inheritance from master repo.
28
29 > - when the eclass folder, profiles/arch.list and such are
30 > present, are they visible globally (i.e., a package from another repository
31 > can use a keyword of the arch.list and inherit from one of the eclass)?
32 AFAIRC, depends on the repos relative priority.
33
34 > 4. is the "masters" attribute in /etc/portage/repos.conf make the repository
35 > inherit other data than the eclasses?
36 Yes, but that attribut is usually not recommended for general use.
37
38 > 5. since every repos can have a profiles/categories file, is the file
39 > /etc/portage/categories obsolete (or should it be)?
40 Why?

Replies

Subject Author
Re: [gentoo-dev] Questions on overlays, repositories and PMS Michael Lienhardt <michael.lienhardt@×××××××.net>