Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple PORTDIR_OVERLAYs?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Mon Aug 04, 2003 3:00 am    Post subject: Multiple PORTDIR_OVERLAYs? Reply with quote

I was told we can have multiple directories in PORTDIR_OVERLAY, but I don't see this in /etc/make.conf or in the emerge man page.

Is this documented somewhere, or can someone explain the use?
Does the first one take precedence over the first, for instance?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9531
Location: beyond the rim

PostPosted: Mon Aug 04, 2003 5:26 am    Post subject: Reply with quote

Looking at the code indicates that this feature really exists. As far as I understand portage tries to find a package in the overlay trees in the order specified in make.conf and will use the normal tree if it can't found the package in one of the overlays.
Please note that I've only briefly looked at it.
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Mon Aug 04, 2003 9:42 am    Post subject: Reply with quote

Just out of interest pythonhead, why would you want to do this? Other than to just save you the hassle of putting all your ebuilds in one place? Is this for some sort of versioning system? i.e. ebuilds your working on in /usr/working/portage, finished ebuilds in /usr/local/portage with ./local overriding ./working?

Puggy
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
asimon
l33t
l33t


Joined: 27 Jun 2002
Posts: 979
Location: Germany, Old Europe

PostPosted: Mon Aug 04, 2003 12:55 pm    Post subject: Reply with quote

puggy wrote:
Just out of interest pythonhead, why would you want to do this?


I would like to have multiple overlay directories to seperate my own ebuilds from kde-cvs or unstable "breakmygentoo" ebuilds. With only one ebuild pool it's an annoying task to remove for example all kde-cvs ebuilds.
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Mon Aug 04, 2003 2:47 pm    Post subject: Reply with quote

puggy wrote:
Just out of interest pythonhead, why would you want to do this? Other than to just save you the hassle of putting all your ebuilds in one place? Is this for some sort of versioning system? i.e. ebuilds your working on in /usr/working/portage, finished ebuilds in /usr/local/portage with ./local overriding ./working?

Puggy


I wrote a portage utility and someone told me it broke if they had something in their second overlay directory. So I was asking here so I could figure out how to deal with this undocumented feature in my utility.

I wonder too why they made this feature. I get confused enough with my own ebuilds in one overlay. The alternate portage source scenario, like breakmygentoo, sounds reasonable.

Thanks everyone.

Bumper (my utility):
https://forums.gentoo.org/viewtopic.php?p=445501#445501
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum