On Tue, 3 Nov 2015 12:29:01 +0000
Joakim Tjernlund <joakim.tjernl...@transmode.se> wrote:

> Sometimes I have to move files from my layman overlays distfiles to 
> /usr/portage/distfiles
> in orders to rebuild older stuff not in gentoo anymore.
> 
> Should not emerge search in distfiles where the ebuild resides?

distfiles are not part of repository. The /usr/portage/distfiles path
is just wrong and you shouldn't be using it.

> What about eclass? What is the search order here?

It follows masters. First the repository with ebuild. If it's not
there, it looks through all masters, then their masters etc.

> If I got a customized user.eclass in my overlay, can I have this eclass take
> precedence over the one in /usr/portage/eclass ?

Yes. 'man 5 portage', look for eclass-overrides. Note that this will
effectively discard metadata cache and therefore make stuff slow after
syncing .

-- 
Best regards,
Michał Górny
<http://dev.gentoo.org/~mgorny/>

Attachment: pgp8mp540E49A.pgp
Description: OpenPGP digital signature

Reply via email to