Repository format

From Gentoo Wiki
Jump to: navigation, search

A quick reference to Gentoo ebuild repository (overlay) format.

Tree
<repository location>
├── <category>/
│   └── <name>/
│       ├── <name>-<version>.ebuild
│       ├── ...
│       ├── Manifest
│       ├── metadata.xml
│       └── files/
├── ...
├── eclass/
├── licenses/
├── metadata/
│   └── layout.conf
└── profiles/
    ├── ...
    ├── license_groups
    ├── package.mask
    └── repo_name

Each ebuild repository has its own repository location. It is set in repos.conf and can be found with the portageq utility:

user $portageq get_repo_path / gentoo
/var/db/repos/gentoo

See also