View previous topic :: View next topic |
Author |
Message |
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Mon Aug 04, 2003 3:00 am Post subject: Multiple PORTDIR_OVERLAYs? |
|
|
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9531 Location: beyond the rim
|
Posted: Mon Aug 04, 2003 5:26 am Post subject: |
|
|
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 |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Mon Aug 04, 2003 9:42 am Post subject: |
|
|
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 |
|
|
asimon l33t
Joined: 27 Jun 2002 Posts: 979 Location: Germany, Old Europe
|
Posted: Mon Aug 04, 2003 12:55 pm Post subject: |
|
|
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 |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Mon Aug 04, 2003 2:47 pm Post subject: |
|
|
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 |
|
|
|