Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] Portage search prio.: overlay vs. /usr/portage/

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
the_bat
n00b
n00b
Posts: 43
Joined: Wed Feb 12, 2003 8:13 pm

[SOLVED] Portage search prio.: overlay vs. /usr/portage/

  • Quote

Post by the_bat » Sun Feb 18, 2007 4:29 pm

Hi,

I'm maintaining some locally modifed ebuilds in /usr/local/portage. Whenever an update to a package ships I re-apply my patches and update stuff in /usr/local/portage.

Now I'm having two versions of, e.g., xorg-server-1.1.1-r5.ebuild in my system, one in /usr/portage/... and the other in /usr/local/portage... .

How does portage decide which one to emerge when I call

Code: Select all

emerge -u xorg-server
? It seems that /usr/portage always takes precedence. Is this specified or adjustable somewhere?

I can explicitely call emerge with the full path to the ebuild as parameter, however, I want the right thing to happen on

Code: Select all

emerge -uDN world
.

Up to now I increase the release version by one in my overlay directory, thereby forcing portage to take the higher version. But this way, I don't see updates in the main tree, until one version later. Is there any other way to handle this issue? I tried the append another minor version number to the ebuild (e.g., -r8.1) but portage does not handle this.

Any hints are appreciated.

Cheers,
Martin
Last edited by the_bat on Mon Feb 19, 2007 10:26 am, edited 1 time in total.
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9656
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Sun Feb 18, 2007 5:13 pm

PORTDIR_OVERLAY has a higher priority than PORTDIR (as the name implies).
Top
the_bat
n00b
n00b
Posts: 43
Joined: Wed Feb 12, 2003 8:13 pm

Solved

  • Quote

Post by the_bat » Mon Feb 19, 2007 10:26 am

Thanks for the answer.

In fact, my tests were some month old. It seems to work now as expected.

Sorry for the confusion, my mistake.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic