aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Bier <Felix.Bier@rohde-schwarz.com>2020-11-10 01:03:03 +0000
committerMatt Turner <mattst88@gentoo.org>2020-11-14 11:34:57 -0500
commit37a386056f77f7cc8f1c2bdfe680b13bd806b4e6 (patch)
treee93e57acaa918b12dd1acb50ca5155538334909c /examples
parentEnsure deep copying of config defaults (diff)
downloadcatalyst-37a386056f77f7cc8f1c2bdfe680b13bd806b4e6.tar.gz
catalyst-37a386056f77f7cc8f1c2bdfe680b13bd806b4e6.tar.bz2
catalyst-37a386056f77f7cc8f1c2bdfe680b13bd806b4e6.zip
Move from PORTDIR_OVERLAY to repos.conf
This commit fixes the following issues: * The PORTDIR_OVERLAY variable has been deprecated by Gentoo. With this commit, the variable is no longer written to the generated make.conf. Instead, a config file /etc/portage/repos.conf/<repo-name>.conf is generated for each overlay. The repo name is read from the overlay using the portage API. Internally, portage parses metadata/layout.conf and profiles/repo_name to obtain the name. References: https://wiki.gentoo.org/wiki//etc/portage/make.conf https://wiki.gentoo.org/wiki//etc/portage/repos.conf * All overlays were copied into the same target directory. If the same file name occurred in multiple overlays, the last overlay would overwrite all previous files with this name. In particular, only the metadata/layout.conf of the last overlay was retained, so it was not possible to reference the other overlays e.g. via the masters entry in the layout.conf or the portage-2 syntax for specifying a parent profile from another overlay. Also, this created problems when the overlays contained ebuilds for the same package, but with differing versions, because after copying, the target directory contained both versions of the ebuild but only the manifest file of the last overlay. With this commit, each overlay is copied into a separate sub-directory, e.g. /var/db/repos/<repo-name>. This directory is referenced via the location entry in the generated /etc/portage/repos.conf/<repo-name>.conf. Signed-off-by: Felix Bier <felix.bier@rohde-schwarz.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions